From 48b0d843d272ef7ee9c0918056a63f65730fa4ca Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Tue, 19 Aug 2025 14:24:14 -0500 Subject: [PATCH] Adjust copycat test to account for how it actually works --- test/moves/copycat.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/moves/copycat.test.ts b/test/moves/copycat.test.ts index bfe4dd2f954..5376ff67ecc 100644 --- a/test/moves/copycat.test.ts +++ b/test/moves/copycat.test.ts @@ -35,7 +35,7 @@ describe("Moves - Copycat", () => { .enemyMoveset(MoveId.SPLASH); }); - it("should copy the last move successfully executed", async () => { + it("should copy the last move executed across turns", async () => { game.override.enemyMoveset(MoveId.SUCKER_PUNCH); await game.classicMode.startBattle([SpeciesId.FEEBAS]); @@ -43,6 +43,7 @@ describe("Moves - Copycat", () => { await game.toNextTurn(); game.move.select(MoveId.COPYCAT); // Last successful move should be Swords Dance + await game.move.forceEnemyMove(MoveId.SPLASH); await game.toNextTurn(); expect(game.field.getPlayerPokemon().getStatStage(Stat.ATK)).toBe(4);