diff --git a/test/game/view/pinball_game_page_test.dart b/test/game/view/pinball_game_page_test.dart index 59a0ef88..3c54197a 100644 --- a/test/game/view/pinball_game_page_test.dart +++ b/test/game/view/pinball_game_page_test.dart @@ -16,7 +16,8 @@ void main() { late ThemeCubit themeCubit; late GameBloc gameBloc; - setUp(() { + setUp(() async { + await Future.wait(game.preLoadAssets()); themeCubit = MockThemeCubit(); gameBloc = MockGameBloc();