mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-11 19:02:16 +02:00
Fix broken tests
This commit is contained in:
parent
82b435b290
commit
a4a2b9ccec
@ -117,10 +117,8 @@ describe("A Trainer's Test - Mystery Encounter", () => {
|
|||||||
i18next.t("trainerNames:marley"),
|
i18next.t("trainerNames:marley"),
|
||||||
i18next.t("trainerNames:mira"),
|
i18next.t("trainerNames:mira"),
|
||||||
i18next.t("trainerNames:riley"),
|
i18next.t("trainerNames:riley"),
|
||||||
]
|
].map(name => name.toLowerCase()),
|
||||||
.map(name => name.toLowerCase())
|
).toContain(scene.currentBattle.trainer!.config.name.toLowerCase());
|
||||||
.includes(scene.currentBattle.trainer!.config.name),
|
|
||||||
).toBeTruthy();
|
|
||||||
expect(enemyField[0]).toBeDefined();
|
expect(enemyField[0]).toBeDefined();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { expect, describe, it, beforeAll } from "vitest";
|
import { expect, describe, it, beforeAll } from "vitest";
|
||||||
import { randomString, padInt } from "./utils/common";
|
import { randomString, padInt } from "#app/utils/common";
|
||||||
|
|
||||||
import Phaser from "phaser";
|
import Phaser from "phaser";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user