This commit is contained in:
NightKev 2024-10-24 15:39:53 -07:00 committed by GitHub
parent 2ba66b9057
commit babe3244f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,14 +54,14 @@ describe("Frenzy Move Reset", () => {
const playerPokemon = game.scene.getPlayerPokemon()!;
game.move.select(Moves.THRASH);
await game.setTurnOrder([ BattlerIndex.PLAYER, BattlerIndex.ENEMY ]);
await game.move.forceStatusActivation(false);
await game.toNextTurn();
expect(playerPokemon.summonData.moveQueue.length).toBe(2);
expect(playerPokemon.summonData.tags.some(tag => tag.tagType === BattlerTagType.FRENZY)).toBe(true);
await game.toNextTurn();
await game.setTurnOrder([ BattlerIndex.PLAYER, BattlerIndex.ENEMY ]);
await game.move.forceStatusActivation(true);
await game.toNextTurn();