mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-09 00:49:27 +02:00
Update whirlwind.test.ts
This commit is contained in:
parent
da5d6ba6d6
commit
1a64b023e1
@ -206,7 +206,7 @@ describe("Moves - Whirlwind", () => {
|
|||||||
await game.classicMode.startBattle([SpeciesId.MAGIKARP, SpeciesId.TOTODILE]);
|
await game.classicMode.startBattle([SpeciesId.MAGIKARP, SpeciesId.TOTODILE]);
|
||||||
|
|
||||||
// expect the enemy to have at least 4 pokemon, necessary for this check to even work
|
// expect the enemy to have at least 4 pokemon, necessary for this check to even work
|
||||||
expect(game.scene.getEnemyParty().length, "enemy must have exactly 4 pokemon").toBe(4);
|
expect(game.scene.getEnemyParty().length, "enemy must have exactly 4 pokemon").toBeGreaterThanOrEqual(4);
|
||||||
|
|
||||||
const user = game.scene.getPlayerPokemon()!;
|
const user = game.scene.getPlayerPokemon()!;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user