From 3297eb0def73f756324023f8afe7c05af97525aa Mon Sep 17 00:00:00 2001 From: alestiago Date: Fri, 6 May 2022 04:40:00 +0100 Subject: [PATCH] test: awaited loading --- .../dino_desert/behaviors/chrome_dino_bonus_behavior_test.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/test/game/components/dino_desert/behaviors/chrome_dino_bonus_behavior_test.dart b/test/game/components/dino_desert/behaviors/chrome_dino_bonus_behavior_test.dart index 407a13f9..54b3b42b 100644 --- a/test/game/components/dino_desert/behaviors/chrome_dino_bonus_behavior_test.dart +++ b/test/game/components/dino_desert/behaviors/chrome_dino_bonus_behavior_test.dart @@ -58,6 +58,7 @@ void main() { 'adds GameBonus.dinoChomp to the game ' 'when ChromeDinoStatus.chomping is emitted', setUp: (game, tester) async { + await game.onLoad(); final behavior = ChromeDinoBonusBehavior(); final parent = DinoDesert.test(); final chromeDino = ChromeDino();