diff --git a/test/game/behaviors/camera_focusing_behavior_test.dart b/test/game/behaviors/camera_focusing_behavior_test.dart index dc4bf718..ba6ea3a1 100644 --- a/test/game/behaviors/camera_focusing_behavior_test.dart +++ b/test/game/behaviors/camera_focusing_behavior_test.dart @@ -85,7 +85,9 @@ void main() { final zoom = behavior.children.whereType().single; game.update(zoom.controller.duration!); + game.update(0); + expect(zoom.controller.completed, isTrue); expect( game.camera.position, isNot(equals(previousPosition)), @@ -109,7 +111,9 @@ void main() { final zoom = behavior.children.whereType().single; game.update(zoom.controller.duration!); + game.update(0); + expect(zoom.controller.completed, isTrue); expect( game.camera.position, isNot(equals(previousPosition)),