pull/449/head
Erick Zanardo 3 years ago
parent 6d0ea6c7fc
commit d6facca233

@ -357,15 +357,15 @@ void main() {
).thenAnswer((_) async => pool);
});
test('plays the bumper A sound pool', () async {
when(seed.nextBool).thenReturn(true);
await Future.wait(
audioPlayer.load().map((loadableBuilder) => loadableBuilder()),
);
audioPlayer.play(PinballAudio.flipper);
test('plays the bumper A sound pool', () async {
when(seed.nextBool).thenReturn(true);
await Future.wait(
audioPlayer.load().map((loadableBuilder) => loadableBuilder()),
);
audioPlayer.play(PinballAudio.flipper);
verify(() => pool.start()).called(1);
});
verify(() => pool.start()).called(1);
});
});
group('cow moo', () {

Loading…
Cancel
Save