mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 06:49:35 +02:00
Revert "skip some clowning-around-encounter tests if events are active"
This reverts commit a97dafe8b2
.
This commit is contained in:
parent
254ec17ad1
commit
ea841574af
@ -32,7 +32,6 @@ import { CommandPhase } from "#app/phases/command-phase";
|
|||||||
import { MovePhase } from "#app/phases/move-phase";
|
import { MovePhase } from "#app/phases/move-phase";
|
||||||
import { SelectModifierPhase } from "#app/phases/select-modifier-phase";
|
import { SelectModifierPhase } from "#app/phases/select-modifier-phase";
|
||||||
import { NewBattlePhase } from "#app/phases/new-battle-phase";
|
import { NewBattlePhase } from "#app/phases/new-battle-phase";
|
||||||
import { TimedEventManager } from "#app/timed-event-manager";
|
|
||||||
|
|
||||||
const namespace = "mysteryEncounters/clowningAround";
|
const namespace = "mysteryEncounters/clowningAround";
|
||||||
const defaultParty = [ Species.LAPRAS, Species.GENGAR, Species.ABRA ];
|
const defaultParty = [ Species.LAPRAS, Species.GENGAR, Species.ABRA ];
|
||||||
@ -225,7 +224,6 @@ describe("Clowning Around - Mystery Encounter", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe("Option 2 - Remain Unprovoked", () => {
|
describe("Option 2 - Remain Unprovoked", () => {
|
||||||
|
|
||||||
it("should have the correct properties", () => {
|
it("should have the correct properties", () => {
|
||||||
const option = ClowningAroundEncounter.options[1];
|
const option = ClowningAroundEncounter.options[1];
|
||||||
expect(option.optionMode).toBe(MysteryEncounterOptionMode.DEFAULT);
|
expect(option.optionMode).toBe(MysteryEncounterOptionMode.DEFAULT);
|
||||||
@ -249,7 +247,7 @@ describe("Clowning Around - Mystery Encounter", () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it.skipIf(new TimedEventManager().isEventActive())("should randomize held items of the Pokemon with the most items, and not the held items of other pokemon", async () => {
|
it("should randomize held items of the Pokemon with the most items, and not the held items of other pokemon", async () => {
|
||||||
await game.runToMysteryEncounter(MysteryEncounterType.CLOWNING_AROUND, defaultParty);
|
await game.runToMysteryEncounter(MysteryEncounterType.CLOWNING_AROUND, defaultParty);
|
||||||
|
|
||||||
// Set some moves on party for attack type booster generation
|
// Set some moves on party for attack type booster generation
|
||||||
|
Loading…
Reference in New Issue
Block a user