Skip to content

Commit

Permalink
Prevent RNG from breaking Dry Skin tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DayKev committed Jun 26, 2024
1 parent 576f099 commit 40a7701
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/abilities/dry_skin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 40a7701

Please sign in to comment.