Skip to content

Commit

Permalink
Added features to prevent test flakiness. (#4959)
Browse files Browse the repository at this point in the history
Co-authored-by: frutescens <info@laptop>
  • Loading branch information
frutescens and frutescens authored Dec 1, 2024
1 parent 2b59a53 commit 282b0c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test/abilities/serene_grace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ describe("Abilities - Serene Grace", () => {
beforeEach(() => {
game = new GameManager(phaserGame);
game.override
.disableCrits()
.battleType("single")
.ability(Abilities.SERENE_GRACE)
.moveset([ Moves.AIR_SLASH, Moves.TACKLE ])
.moveset([ Moves.AIR_SLASH ])
.enemySpecies(Species.ALOLA_GEODUDE)
.enemyLevel(10)
.enemyAbility(Abilities.BALL_FETCH)
.enemyMoveset([ Moves.SPLASH ]);
});

Expand Down

0 comments on commit 282b0c8

Please sign in to comment.