diff --git a/test/game/view/widgets/bonus_animation_test.dart b/test/game/view/widgets/bonus_animation_test.dart index c76a7ca1..11e249c7 100644 --- a/test/game/view/widgets/bonus_animation_test.dart +++ b/test/game/view/widgets/bonus_animation_test.dart @@ -26,6 +26,8 @@ void main() { TestWidgetsFlutterBinding.ensureInitialized(); setUp(() async { + // TODO(arturplaczek): need to find for a better solution for loading image + // or use original images from BonusAnimation.loadAssets() final image = await decodeImageFromList(Uint8List.fromList(fakeImage)); final images = MockImages(); when(() => images.fromCache(any())).thenReturn(image); diff --git a/test/game/view/widgets/game_hud_test.dart b/test/game/view/widgets/game_hud_test.dart index 70b54330..fe8bd092 100644 --- a/test/game/view/widgets/game_hud_test.dart +++ b/test/game/view/widgets/game_hud_test.dart @@ -35,6 +35,8 @@ void main() { setUp(() async { gameBloc = MockGameBloc(); + // TODO(arturplaczek): need to find for a better solution for loading + // image or use original images from BonusAnimation.loadAssets() final image = await decodeImageFromList(Uint8List.fromList(fakeImage)); final images = MockImages(); when(() => images.fromCache(any())).thenReturn(image);