add retries to berries-abound.Option1: should reward the player with X berries based on wave
This commit is contained in:
parent
24fb80801a
commit
5c040aeb4d
|
@ -130,7 +130,7 @@ describe("Berries Abound - Mystery Encounter", () => {
|
||||||
expect(enemyField[0].species.speciesId).toBe(speciesToSpawn);
|
expect(enemyField[0].species.speciesId).toBe(speciesToSpawn);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should reward the player with X berries based on wave", async () => {
|
it("should reward the player with X berries based on wave", { retry: 5 }, async () => {
|
||||||
await game.runToMysteryEncounter(MysteryEncounterType.BERRIES_ABOUND, defaultParty);
|
await game.runToMysteryEncounter(MysteryEncounterType.BERRIES_ABOUND, defaultParty);
|
||||||
|
|
||||||
const numBerries = game.scene.currentBattle.mysteryEncounter.misc.numBerries;
|
const numBerries = game.scene.currentBattle.mysteryEncounter.misc.numBerries;
|
||||||
|
|
Loading…
Reference in New Issue