mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-28 12:32:44 +02:00
Fix id check syrup bomb test
Wasn't running phase due to being a turn end effect
This commit is contained in:
parent
565e18fcb2
commit
36d811e302
@ -76,7 +76,7 @@ describe("Field - Pokemon ID Checks", () => {
|
||||
|
||||
// Player uses Thief and steals the opponent's item
|
||||
game.move.select(MoveId.THIEF);
|
||||
await game.phaseInterceptor.to("TurnEndPhase");
|
||||
await game.toNextTurn();
|
||||
|
||||
expect(enemy.getHeldItems()).toHaveLength(0);
|
||||
expect(player.getHeldItems()).toHaveLength(1);
|
||||
@ -94,7 +94,7 @@ describe("Field - Pokemon ID Checks", () => {
|
||||
expect(enemy.getTag(BattlerTagType.SYRUP_BOMB)).toBeUndefined();
|
||||
|
||||
game.move.select(MoveId.SYRUP_BOMB);
|
||||
await game.phaseInterceptor.to("TurnEndPhase");
|
||||
await game.toNextTurn();
|
||||
|
||||
const syrupTag = enemy.getTag(BattlerTagType.SYRUP_BOMB)!;
|
||||
expect(syrupTag).toBeDefined();
|
||||
|
Loading…
Reference in New Issue
Block a user