mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-07 16:09:27 +02:00
[Test] Add extra logging to flaky Last Respects test
This commit is contained in:
parent
cdda539ac5
commit
88b8e05ee8
@ -167,7 +167,10 @@ describe("Moves - Last Respects", () => {
|
||||
game.move.select(Moves.LAST_RESPECTS);
|
||||
await game.setTurnOrder([BattlerIndex.ENEMY, BattlerIndex.PLAYER]);
|
||||
await game.phaseInterceptor.to("MoveEndPhase");
|
||||
expect(move.calculateBattlePower).toHaveLastReturnedWith(basePower);
|
||||
expect(
|
||||
move.calculateBattlePower,
|
||||
`Enemy: ${game.field.getEnemyPokemon()}\nPlayer: ${game.field.getPlayerPokemon()}`,
|
||||
).toHaveLastReturnedWith(basePower);
|
||||
});
|
||||
|
||||
it("should reset playerFaints count if we enter new trainer battle", async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user