fix: spaceship golden test

pull/185/head
Allison Ryan 3 years ago
parent 0cb7ccc676
commit 06ffcd0853

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

@ -43,7 +43,9 @@ void main() {
tester.testGameWidget( tester.testGameWidget(
'renders correctly', 'renders correctly',
setUp: (game, tester) async { setUp: (game, tester) async {
await game.addFromBlueprint(Spaceship(position: Vector2(30, -30))); final position = Vector2(30, -30);
await game.addFromBlueprint(Spaceship(position: position));
game.camera.followVector2(position);
}, },
verify: (game, tester) async { verify: (game, tester) async {
await expectLater( await expectLater(

Loading…
Cancel
Save