fix lost-at-sea tests

This commit is contained in:
Felix Staud 2024-07-17 15:31:12 -07:00
parent 96d0df42fc
commit 6e97bca0ad
1 changed files with 3 additions and 3 deletions

View File

@ -28,9 +28,9 @@ describe("Lost at Sea - Mystery Encounter", () => {
game = new GameManager(phaserGame);
game.override.mysteryEncounterChance(100);
game.override.startingBiome(Biome.SEA);
vi.spyOn(MysteryEncounters, "allMysteryEncounters", "get").mockReturnValue({
[MysteryEncounterType.LOST_AT_SEA]: LostAtSeaEncounter,
});
vi.spyOn(MysteryEncounters, "mysteryEncountersByBiome", "get").mockReturnValue(
new Map<Biome, MysteryEncounterType[]>([[Biome.SEA, [MysteryEncounterType.LOST_AT_SEA]]])
);
});
afterEach(() => {