fix unit test

This commit is contained in:
ImperialSympathizer 2024-07-28 12:12:11 -04:00
parent 132f5ac343
commit 3b36836608
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ describe("Absolute Avarice - Mystery Encounter", () => {
game.override.startingBiome(Biome.VOLCANO); game.override.startingBiome(Biome.VOLCANO);
await game.runToMysteryEncounter(); await game.runToMysteryEncounter();
expect(game.scene.currentBattle.mysteryEncounter.encounterType).not.toBe(MysteryEncounterType.ABSOLUTE_AVARICE); expect(game.scene.currentBattle.mysteryEncounter?.encounterType).not.toBe(MysteryEncounterType.ABSOLUTE_AVARICE);
}); });
it("should not spawn if player does not have enough berries", async () => { it("should not spawn if player does not have enough berries", async () => {