Added features to prevent test flakiness. (#4959)

Co-authored-by: frutescens <info@laptop>
This commit is contained in:
Mumble 2024-12-01 14:24:16 -08:00 committed by GitHub
parent 2b59a53285
commit 282b0c8215
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 ]);
});