Fix linting & nits

Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
This commit is contained in:
NightKev 2024-10-03 23:11:41 -07:00 committed by GitHub
parent 489324af67
commit 502d486f3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 5 deletions

View File

@ -56,6 +56,7 @@ describe("Abilities - Competitive", () => {
expect(playerPokemon.getStatStage(Stat.DEF)).toBe(-1);
expect(playerPokemon.getStatStage(Stat.SPATK)).toBe(0);
});
it("white herb should remove only the negative effects", async () => {
game.override.startingHeldItems([{ name: "WHITE_HERB" }]);
await game.classicMode.startBattle([ Species.FLYGON ]);

View File

@ -55,6 +55,7 @@ describe("Abilities - Defiant", () => {
expect(playerPokemon.getStatStage(Stat.DEF)).toBe(-1);
expect(playerPokemon.getStatStage(Stat.ATK)).toBe(0);
});
it("white herb should remove only the negative effects", async () => {
game.override.startingHeldItems([{ name: "WHITE_HERB" }]);
await game.classicMode.startBattle([ Species.FLYGON ]);