mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-03 23:12:20 +02:00
Update comment in spikes.test.ts
This commit is contained in:
parent
448255a93f
commit
7dbb649413
@ -81,14 +81,14 @@ describe("Moves - Spikes", () => {
|
|||||||
expect(enemy.hp).toBeLessThan(enemy.getMaxHp());
|
expect(enemy.hp).toBeLessThan(enemy.getMaxHp());
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO: This is failing and IDK why
|
// TODO: re-enable after re-fixing hazards moves
|
||||||
it.todo("should work when all targets fainted", async () => {
|
it.todo("should work when all targets fainted", async () => {
|
||||||
game.override.enemySpecies(SpeciesId.DIGLETT).battleStyle("double").startingLevel(1000);
|
game.override.enemySpecies(SpeciesId.DIGLETT).battleStyle("double").startingLevel(1000);
|
||||||
await game.classicMode.startBattle([SpeciesId.RAYQUAZA, SpeciesId.SHUCKLE]);
|
await game.classicMode.startBattle([SpeciesId.RAYQUAZA, SpeciesId.SHUCKLE]);
|
||||||
|
|
||||||
game.move.use(MoveId.HYPER_VOICE, BattlerIndex.PLAYER);
|
game.move.use(MoveId.HYPER_VOICE, BattlerIndex.PLAYER);
|
||||||
game.move.use(MoveId.SPIKES, BattlerIndex.PLAYER_2);
|
game.move.use(MoveId.SPIKES, BattlerIndex.PLAYER_2);
|
||||||
await game.toNextWave();
|
await game.toEndOfTurn();
|
||||||
|
|
||||||
expect(game.scene.arena.getTagOnSide(ArenaTrapTag, ArenaTagSide.ENEMY)).toBeDefined();
|
expect(game.scene.arena.getTagOnSide(ArenaTrapTag, ArenaTagSide.ENEMY)).toBeDefined();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user