From 26a89f0e02cadf4c7c1227788821665815b07c1a Mon Sep 17 00:00:00 2001 From: arturplaczek Date: Thu, 21 Apr 2022 18:40:05 +0200 Subject: [PATCH] fix: apply code review --- .../view/widgets/bonus_animation_test.dart | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/test/game/view/widgets/bonus_animation_test.dart b/test/game/view/widgets/bonus_animation_test.dart index b39fe956..4d3cab4f 100644 --- a/test/game/view/widgets/bonus_animation_test.dart +++ b/test/game/view/widgets/bonus_animation_test.dart @@ -25,11 +25,7 @@ void main() { group('loads SpriteAnimationWidget correctly for', () { testWidgets('dashNest', (tester) async { await tester.pumpApp( - MaterialApp( - home: Scaffold( - body: BonusAnimation.dashNest(), - ), - ), + BonusAnimation.dashNest(), ); await tester.pump(); @@ -38,11 +34,7 @@ void main() { testWidgets('dino', (tester) async { await tester.pumpApp( - MaterialApp( - home: Scaffold( - body: BonusAnimation.dino(), - ), - ), + BonusAnimation.dino(), ); await tester.pump(); @@ -51,11 +43,7 @@ void main() { testWidgets('sparkyTurboCharge', (tester) async { await tester.pumpApp( - MaterialApp( - home: Scaffold( - body: BonusAnimation.sparkyTurboCharge(), - ), - ), + BonusAnimation.sparkyTurboCharge(), ); await tester.pump();