mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-26 17:29:30 +02:00
remove accidental it.each
tests were being executed 30-100 times. This is a debugging tool but was never supposed to make it to merge.
This commit is contained in:
parent
354fe452ad
commit
0e1060275f
@ -231,7 +231,7 @@ describe("An Offer You Can't Refuse - Mystery Encounter", () => {
|
||||
});
|
||||
|
||||
describe("Option 3 - Leave", () => {
|
||||
it.each(Array.from({length: 30}))("should leave encounter without battle", async () => {
|
||||
it("should leave encounter without battle", async () => {
|
||||
const leaveEncounterWithoutBattleSpy = vi.spyOn(EncounterPhaseUtils, "leaveEncounterWithoutBattle");
|
||||
|
||||
await game.runToMysteryEncounter(MysteryEncounterType.AN_OFFER_YOU_CANT_REFUSE, defaultParty);
|
||||
|
@ -184,7 +184,7 @@ describe("The Strong Stuff - Mystery Encounter", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it.each(Array.from({length: 50}))("should start battle against Shuckle", async () => {
|
||||
it("should start battle against Shuckle", async () => {
|
||||
const phaseSpy = vi.spyOn(scene, "pushPhase");
|
||||
|
||||
await game.runToMysteryEncounter(MysteryEncounterType.THE_STRONG_STUFF, defaultParty);
|
||||
|
@ -35,7 +35,7 @@ describe("Reload", () => {
|
||||
expect(preReloadRngState).toBe(postReloadRngState);
|
||||
}, 20000);
|
||||
|
||||
it.each(Array.from({length: 100}))("should not have RNG inconsistencies after a biome switch", async () => {
|
||||
it("should not have RNG inconsistencies after a biome switch", async () => {
|
||||
game.override
|
||||
.startingWave(10)
|
||||
.battleType("single")
|
||||
|
Loading…
Reference in New Issue
Block a user