fix lost-at-sea tests
This commit is contained in:
parent
96d0df42fc
commit
6e97bca0ad
|
@ -28,9 +28,9 @@ describe("Lost at Sea - Mystery Encounter", () => {
|
||||||
game = new GameManager(phaserGame);
|
game = new GameManager(phaserGame);
|
||||||
game.override.mysteryEncounterChance(100);
|
game.override.mysteryEncounterChance(100);
|
||||||
game.override.startingBiome(Biome.SEA);
|
game.override.startingBiome(Biome.SEA);
|
||||||
vi.spyOn(MysteryEncounters, "allMysteryEncounters", "get").mockReturnValue({
|
vi.spyOn(MysteryEncounters, "mysteryEncountersByBiome", "get").mockReturnValue(
|
||||||
[MysteryEncounterType.LOST_AT_SEA]: LostAtSeaEncounter,
|
new Map<Biome, MysteryEncounterType[]>([[Biome.SEA, [MysteryEncounterType.LOST_AT_SEA]]])
|
||||||
});
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
|
|
Loading…
Reference in New Issue