fix: apply code review

pull/191/head
arturplaczek 3 years ago
parent 77c4403cbd
commit 26a89f0e02

@ -25,11 +25,7 @@ void main() {
group('loads SpriteAnimationWidget correctly for', () { group('loads SpriteAnimationWidget correctly for', () {
testWidgets('dashNest', (tester) async { testWidgets('dashNest', (tester) async {
await tester.pumpApp( await tester.pumpApp(
MaterialApp( BonusAnimation.dashNest(),
home: Scaffold(
body: BonusAnimation.dashNest(),
),
),
); );
await tester.pump(); await tester.pump();
@ -38,11 +34,7 @@ void main() {
testWidgets('dino', (tester) async { testWidgets('dino', (tester) async {
await tester.pumpApp( await tester.pumpApp(
MaterialApp( BonusAnimation.dino(),
home: Scaffold(
body: BonusAnimation.dino(),
),
),
); );
await tester.pump(); await tester.pump();
@ -51,11 +43,7 @@ void main() {
testWidgets('sparkyTurboCharge', (tester) async { testWidgets('sparkyTurboCharge', (tester) async {
await tester.pumpApp( await tester.pumpApp(
MaterialApp( BonusAnimation.sparkyTurboCharge(),
home: Scaffold(
body: BonusAnimation.sparkyTurboCharge(),
),
),
); );
await tester.pump(); await tester.pump();

Loading…
Cancel
Save