test: awaited loading

pull/357/head
alestiago 3 years ago
parent 1a11787873
commit 3297eb0def

@ -58,6 +58,7 @@ void main() {
'adds GameBonus.dinoChomp to the game ' 'adds GameBonus.dinoChomp to the game '
'when ChromeDinoStatus.chomping is emitted', 'when ChromeDinoStatus.chomping is emitted',
setUp: (game, tester) async { setUp: (game, tester) async {
await game.onLoad();
final behavior = ChromeDinoBonusBehavior(); final behavior = ChromeDinoBonusBehavior();
final parent = DinoDesert.test(); final parent = DinoDesert.test();
final chromeDino = ChromeDino(); final chromeDino = ChromeDino();

Loading…
Cancel
Save