mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 07:23:24 +02:00
Adjust copycat test to account for how it actually works
This commit is contained in:
parent
86122f6c04
commit
48b0d843d2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user