FullScreenShenanigans / FullScreenPokemon

A free HTML5 remake of the original Pokemon, expanded for modern browsing.
MIT License
213 stars 88 forks source link

Unit test battle audio #631

Open JoshuaKGoldberg opened 6 years ago

JoshuaKGoldberg commented 6 years ago

When you start a battle, it should switch to the battle's audio (as specified in battle options, or the default audio).

When you end a battle, it should play the music that was playing before (if there was any).

Phansa commented 6 years ago

Branch - https://github.com/Phansa/FullScreenPokemon/tree/battleAudioTest. Was blocked by not being able to start a battle and the mock audioPlayer also displaying the current sound as the same value regardless of the input string.