mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-10 09:29:25 +02:00
[Test] Disable flaky test
This commit is contained in:
parent
6863044698
commit
22e399be8b
@ -55,7 +55,8 @@ 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 () => {
|
// 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]);
|
await game.classicMode.startBattle([SpeciesId.MILOTIC]);
|
||||||
vi.spyOn(RandomMoveAttr.prototype, "getMoveOverride").mockReturnValue(MoveId.PHOTON_GEYSER);
|
vi.spyOn(RandomMoveAttr.prototype, "getMoveOverride").mockReturnValue(MoveId.PHOTON_GEYSER);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user