[Test] Update new Disguise test with test framework changes (#3724)

This commit is contained in:
NightKev 2024-08-23 22:51:39 -07:00 committed by GitHub
parent 41a0dfe192
commit 4867ffb229
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -215,7 +215,7 @@ describe("Abilities - Disguise", () => {
const mimikyu = game.scene.getEnemyPokemon()!; const mimikyu = game.scene.getEnemyPokemon()!;
mimikyu.hp = 1; mimikyu.hp = 1;
game.doAttack(getMovePosition(game.scene, 0, Moves.SHADOW_SNEAK)); game.move.select(Moves.SHADOW_SNEAK);
await game.toNextWave(); await game.toNextWave();
expect(game.scene.getCurrentPhase()?.constructor.name).toBe("CommandPhase"); expect(game.scene.getCurrentPhase()?.constructor.name).toBe("CommandPhase");