[Test] Disable flaky test

This commit is contained in:
NightKev 2025-07-13 21:23:34 -07:00
parent 6863044698
commit 22e399be8b

View File

@ -55,7 +55,8 @@ describe("Moves - Ability-Ignoring Moves", () => {
expect(enemy.isFainted()).toBe(true);
});
it("should not ignore enemy abilities when called by Metronome", async () => {
// TODO: figure out why this test sometimes fails (cross-test game state pollution?)
it.todo("should not ignore enemy abilities when called by Metronome", async () => {
await game.classicMode.startBattle([SpeciesId.MILOTIC]);
vi.spyOn(RandomMoveAttr.prototype, "getMoveOverride").mockReturnValue(MoveId.PHOTON_GEYSER);