[Test] Prevent RNG from breaking Dry Skin tests (#2630)

This commit is contained in:
NightKev 2024-06-26 18:39:35 -07:00 committed by GitHub
parent 55dd6b5100
commit 8933a9bb05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ describe("Abilities - Dry Skin", () => {
vi.spyOn(overrides, "SINGLE_BATTLE_OVERRIDE", "get").mockReturnValue(true);
vi.spyOn(overrides, "OPP_ABILITY_OVERRIDE", "get").mockReturnValue(Abilities.DRY_SKIN);
vi.spyOn(overrides, "OPP_MOVESET_OVERRIDE", "get").mockReturnValue([Moves.SPLASH, Moves.SPLASH, Moves.SPLASH, Moves.SPLASH]);
vi.spyOn(overrides, "ABILITY_OVERRIDE", "get").mockReturnValue(Abilities.BALL_FETCH);
});
it("during sunlight, lose 1/8 of maximum health at the end of each turn", async () => {