diff --git a/src/test/mystery-encounter/encounters/lost-at-sea-encounter.test.ts b/src/test/mystery-encounter/encounters/lost-at-sea-encounter.test.ts index 928da9760d4..1b2bc157772 100644 --- a/src/test/mystery-encounter/encounters/lost-at-sea-encounter.test.ts +++ b/src/test/mystery-encounter/encounters/lost-at-sea-encounter.test.ts @@ -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.SEA, [MysteryEncounterType.LOST_AT_SEA]]]) + ); }); afterEach(() => {