added documentation to test cases

This commit is contained in:
geeil-han 2025-01-28 21:09:07 +01:00
parent 2863500566
commit deb2860c72

View File

@ -113,13 +113,15 @@ describe("Moves - Last Respects", () => {
/** /**
* The first Pokemon faints and another Pokemon in the party is selected. * The first Pokemon faints and another Pokemon in the party is selected.
* Enemy Pokemon also faints
*/ */
game.move.select(Moves.LUNAR_DANCE); game.move.select(Moves.LUNAR_DANCE);
await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]); await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
game.doSelectPartyPokemon(1); game.doSelectPartyPokemon(1);
await game.toNextTurn(); await game.toNextTurn();
/**
* Enemy Pokemon faints and new wave is entered.
*/
game.move.select(Moves.LAST_RESPECTS); game.move.select(Moves.LAST_RESPECTS);
await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]); await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
await game.toNextWave(); await game.toNextWave();