mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Update src/test/moves/retaliate.test.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
085c4af17d
commit
db72ce0b42
@ -39,7 +39,7 @@ describe("Moves - Retaliate", () => {
|
|||||||
vi.spyOn(retaliate, "calculateBattlePower");
|
vi.spyOn(retaliate, "calculateBattlePower");
|
||||||
await game.startBattle([Species.ABRA, Species.COBALION]);
|
await game.startBattle([Species.ABRA, Species.COBALION]);
|
||||||
game.move.select(Moves.RETALIATE);
|
game.move.select(Moves.RETALIATE);
|
||||||
await game.phaseInterceptor.to(TurnEndPhase);
|
await game.phaseInterceptor.to("TurnEndPhase");
|
||||||
expect(retaliate.calculateBattlePower).toHaveLastReturnedWith(70);
|
expect(retaliate.calculateBattlePower).toHaveLastReturnedWith(70);
|
||||||
game.doSelectPartyPokemon(1);
|
game.doSelectPartyPokemon(1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user