disable Uncommon Breed tests
This commit is contained in:
parent
ac6f769bc8
commit
6b3f8b8f55
|
@ -24,15 +24,14 @@ import { StatStageChangePhase } from "#app/phases/stat-stage-change-phase";
|
|||
import { Stat } from "#enums/stat";
|
||||
import { BerryModifier } from "#app/modifier/modifier";
|
||||
import { modifierTypes } from "#app/modifier/modifier-type";
|
||||
import * as TextUtils from "#app/ui/text";
|
||||
import BBCodeText from "phaser3-rex-plugins/plugins/bbcodetext";
|
||||
|
||||
const namespace = "mysteryEncounter:uncommonBreed";
|
||||
const defaultParty = [Species.LAPRAS, Species.GENGAR, Species.ABRA];
|
||||
const defaultBiome = Biome.CAVE;
|
||||
const defaultWave = 45;
|
||||
|
||||
describe("Uncommon Breed - Mystery Encounter", () => {
|
||||
// TODO: there is some severe test flakiness occurring for this file, needs to be looked at/addressed in separate issue
|
||||
describe.skip("Uncommon Breed - Mystery Encounter", () => {
|
||||
let phaserGame: Phaser.Game;
|
||||
let game: GameManager;
|
||||
let scene: BattleScene;
|
||||
|
@ -170,9 +169,6 @@ describe("Uncommon Breed - Mystery Encounter", () => {
|
|||
});
|
||||
|
||||
it("should NOT be selectable if the player doesn't have enough berries", async () => {
|
||||
// For some reason, BBCodeText has issues with this test
|
||||
vi.spyOn(TextUtils, "addBBCodeTextObject").mockImplementation(() => new BBCodeText(scene, 0, 0, "test"));
|
||||
|
||||
await game.runToMysteryEncounter(MysteryEncounterType.UNCOMMON_BREED, defaultParty);
|
||||
// Clear out any pesky mods that slipped through test spin-up
|
||||
scene.modifiers.forEach(mod => {
|
||||
|
|
Loading…
Reference in New Issue