This commit is contained in:
Bertie690 2025-06-22 19:22:37 -04:00
parent bb6e610109
commit a42d1ef0ce

View File

@ -55,7 +55,7 @@ describe("Moves - Ability-Ignoring Moves", () => {
expect(enemy.isFainted()).toBe(true); expect(enemy.isFainted()).toBe(true);
}); });
it("should not ignore enemy abilities when called by metronome", async () => { it("should not ignore enemy abilities when called by Metronome", async () => {
await game.classicMode.startBattle([SpeciesId.MILOTIC]); await game.classicMode.startBattle([SpeciesId.MILOTIC]);
vi.spyOn(RandomMoveAttr.prototype, "getMoveOverride").mockReturnValue(MoveId.PHOTON_GEYSER); vi.spyOn(RandomMoveAttr.prototype, "getMoveOverride").mockReturnValue(MoveId.PHOTON_GEYSER);