fix flaky test
This commit is contained in:
parent
71d1f72597
commit
d926d1e9ad
|
@ -25,7 +25,7 @@ const namespace = "mysteryEncounter:teleportingHijinks";
|
||||||
|
|
||||||
const MONEY_COST_MULTIPLIER = 2.5;
|
const MONEY_COST_MULTIPLIER = 2.5;
|
||||||
const BIOME_CANDIDATES = [Biome.SPACE, Biome.FAIRY_CAVE, Biome.LABORATORY, Biome.ISLAND];
|
const BIOME_CANDIDATES = [Biome.SPACE, Biome.FAIRY_CAVE, Biome.LABORATORY, Biome.ISLAND];
|
||||||
const MACHINE_INTERFACING_TYPES = [Type.ELECTRIC, Type.FLYING];
|
const MACHINE_INTERFACING_TYPES = [Type.ELECTRIC, Type.STEEL];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Teleporting Hijinks encounter.
|
* Teleporting Hijinks encounter.
|
||||||
|
|
|
@ -196,7 +196,7 @@ describe("Teleporting Hijinks - Mystery Encounter", () => {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("Option 2 - Attempt to Steal", () => {
|
describe("Option 2 - Use Electric/Steel Typing", () => {
|
||||||
it("should have the correct properties", () => {
|
it("should have the correct properties", () => {
|
||||||
const option = TeleportingHijinksEncounter.options[1];
|
const option = TeleportingHijinksEncounter.options[1];
|
||||||
expect(option.optionMode).toBe(MysteryEncounterOptionMode.DISABLED_OR_SPECIAL);
|
expect(option.optionMode).toBe(MysteryEncounterOptionMode.DISABLED_OR_SPECIAL);
|
||||||
|
|
Loading…
Reference in New Issue