fix flaky test

This commit is contained in:
ImperialSympathizer 2024-08-26 14:43:30 -04:00
parent 71d1f72597
commit d926d1e9ad
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ const namespace = "mysteryEncounter:teleportingHijinks";
const MONEY_COST_MULTIPLIER = 2.5;
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.

View File

@ -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", () => {
const option = TeleportingHijinksEncounter.options[1];
expect(option.optionMode).toBe(MysteryEncounterOptionMode.DISABLED_OR_SPECIAL);