mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-04-28 12:34:37 +01:00
update flaky ME test
This commit is contained in:
parent
2ca4581fc4
commit
ec6bf98acc
@ -189,7 +189,7 @@ describe("Uncommon Breed - Mystery Encounter", () => {
|
|||||||
expect(mysteryEncounterPhase.continueEncounter).not.toHaveBeenCalled();
|
expect(mysteryEncounterPhase.continueEncounter).not.toHaveBeenCalled();
|
||||||
});
|
});
|
||||||
|
|
||||||
it("Should skip fight when player meets requirements", async () => {
|
it("Should skip fight when player meets requirements", { retry: 5 }, async () => {
|
||||||
const leaveEncounterWithoutBattleSpy = vi.spyOn(EncounterPhaseUtils, "leaveEncounterWithoutBattle");
|
const leaveEncounterWithoutBattleSpy = vi.spyOn(EncounterPhaseUtils, "leaveEncounterWithoutBattle");
|
||||||
|
|
||||||
await game.runToMysteryEncounter(MysteryEncounterType.UNCOMMON_BREED, defaultParty);
|
await game.runToMysteryEncounter(MysteryEncounterType.UNCOMMON_BREED, defaultParty);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user