mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-19 13:59:27 +02:00
fixed test
This commit is contained in:
parent
e28d0f7fd9
commit
772dbea7f1
@ -112,7 +112,9 @@ describe("Abilities - Shields Down", () => {
|
||||
await game.move.forceEnemyMove(MoveId.YAWN);
|
||||
await game.toEndOfTurn();
|
||||
|
||||
expect(game.field.getEnemyPokemon()).toHaveUsedMove({ move: MoveId.YAWN, result: MoveResult.FAIL });
|
||||
// TODO: Yawn doesn't fail ATM when failing to be added
|
||||
// expect(game.field.getEnemyPokemon()).toHaveUsedMove({ move: MoveId.YAWN, result: MoveResult.FAIL });
|
||||
expect(minior).not.toHaveBattlerTag(BattlerTagType.DROWSY);
|
||||
});
|
||||
|
||||
it("should not ignore non-volatile status effects & Yawn in Core Form", async () => {
|
||||
@ -137,6 +139,7 @@ describe("Abilities - Shields Down", () => {
|
||||
await game.toEndOfTurn();
|
||||
|
||||
expect(game.field.getEnemyPokemon()).toHaveUsedMove({ move: MoveId.YAWN, result: MoveResult.SUCCESS });
|
||||
expect(minior).toHaveBattlerTag(BattlerTagType.DROWSY);
|
||||
});
|
||||
|
||||
// TODO: Gravity does not make a Pokemon be considered as "grounded" for hazards
|
||||
|
Loading…
Reference in New Issue
Block a user