diff --git a/packages/pinball_components/test/src/components/golden/spaceship.png b/packages/pinball_components/test/src/components/golden/spaceship.png index da665718..d43db8c7 100644 Binary files a/packages/pinball_components/test/src/components/golden/spaceship.png and b/packages/pinball_components/test/src/components/golden/spaceship.png differ diff --git a/packages/pinball_components/test/src/components/spaceship_test.dart b/packages/pinball_components/test/src/components/spaceship_test.dart index 17617c12..0f627be9 100644 --- a/packages/pinball_components/test/src/components/spaceship_test.dart +++ b/packages/pinball_components/test/src/components/spaceship_test.dart @@ -43,7 +43,9 @@ void main() { tester.testGameWidget( 'renders correctly', 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 { await expectLater(