Update test/moves/court-change.test.ts

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
This commit is contained in:
thisPieonFire 2025-07-08 14:41:26 +02:00 committed by GitHub
parent e120a43c28
commit 8bc44baa3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,8 @@ describe("Move - Court Change", () => {
await game.toNextTurn();
// Ninjask will not be poisoned because of Safeguard
expect(ninjask.status?.effect).not.toBe(StatusEffect.POISON);
expect(game.scene.arena.getTagOnSide(ArenaTagType.SAFEGUARD, ArenaTagSide.PLAYER)).toBeDefined();
expect(ninjask.status?.effect).toBeUndefined();
game.move.use(MoveId.COURT_CHANGE);
await game.toEndOfTurn();