From 4bc931764ce4e962919fe5996a203141122500f2 Mon Sep 17 00:00:00 2001 From: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com> Date: Wed, 21 May 2025 22:50:52 -0500 Subject: [PATCH] Fix improper test --- test/moves/natural_gift.test.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/moves/natural_gift.test.ts b/test/moves/natural_gift.test.ts index 2bfa381d0b4..c9406b49042 100644 --- a/test/moves/natural_gift.test.ts +++ b/test/moves/natural_gift.test.ts @@ -148,21 +148,17 @@ describe("Moves - Natural Gift", () => { }); it("should clear BerryType once successfully used", async () => { - game.override + game.override .startingHeldItems([{ name: "BERRY", type: BerryType.SITRUS, count: 3 }]) - .ability(Abilities.NORMALIZE) .enemySpecies(Species.MACHAMP); await game.classicMode.startBattle([Species.BULBASAUR]); const player = game.scene.getPlayerPokemon()!; expect(getHeldItemCount(player)).toBe(3); - const enemy = game.scene.getEnemyPokemon()!; game.move.select(Moves.NATURAL_GIFT); - await game.setTurnOrder([BattlerIndex.PLAYER, BattlerIndex.ENEMY]); await game.toNextTurn(); - expect(getHeldItemCount(player)).toBe(2); - expect(enemy.getMoveEffectiveness).toHaveReturnedWith(2); + expect(NaturalGiftBerrySelector.getSelectedBerry()).toBeFalsy(); }); });