Skip to content

Commit

Permalink
fix: Added ensureInitialized.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathrunet committed Mar 5, 2024
1 parent d490989 commit 9f82bd3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/masamune/lib/src/functions.dart
Expand Up @@ -15,6 +15,7 @@ void masamuneTest({
List<LoggerAdapter> loggerAdapters = const [],
ModelAdapter? modelAdapter,
}) {
WidgetsFlutterBinding.ensureInitialized();
if (scopedValueContainer != null) {
TestAppScoped.setTestContainer(scopedValueContainer);
}
Expand Down

0 comments on commit 9f82bd3

Please sign in to comment.