You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type casting errors when handling configuration in LogManager. Two specific error patterns:
type 'String' is not a subtype of type 'Map<String dynamic>'
type 'Null' is not a subtype of type 'Map<String dynamic>'
The errors occur in MockApplication.make() and propagate through the LogManager's configuration methods. This suggests an issue with how configuration data is being handled in the test environment.
Is this a regression?
No
Media proof
type 'String' is not a subtype of type 'Map<String dynamic>' in type cast
test/log_manager_test.dart 43:37 MockApplication.make
package:platform_log/src/log_manager.dart 48:38 LogManager.getDefaultDriver
Additional context
Location: packages/log/test/log_manager_test.dart
The issue appears to be in the mock application setup for testing
Affects all LogManager configuration-related functionality
The text was updated successfully, but these errors were encountered:
Select package
Log
Which jobs/test(s) are failing
test/log_manager_test.dart:LogManager creates default channel
test/log_manager_test.dart:LogManager creates specific channel
test/log_manager_test.dart:LogManager creates stack channel
Reason for failure/description
Type casting errors when handling configuration in LogManager. Two specific error patterns:
type 'String' is not a subtype of type 'Map<String dynamic>'
type 'Null' is not a subtype of type 'Map<String dynamic>'
The errors occur in MockApplication.make() and propagate through the LogManager's configuration methods. This suggests an issue with how configuration data is being handled in the test environment.
Is this a regression?
No
Media proof
Additional context
The text was updated successfully, but these errors were encountered: