Fix broken tests
This commit is contained in:
parent
b341ff8527
commit
00fa13f5ad
|
@ -117,10 +117,8 @@ describe("A Trainer's Test - Mystery Encounter", () => {
|
|||
i18next.t("trainerNames:marley"),
|
||||
i18next.t("trainerNames:mira"),
|
||||
i18next.t("trainerNames:riley"),
|
||||
]
|
||||
.map(name => name.toLowerCase())
|
||||
.includes(scene.currentBattle.trainer!.config.name),
|
||||
).toBeTruthy();
|
||||
].map(name => name.toLowerCase()),
|
||||
).toContain(scene.currentBattle.trainer!.config.name.toLowerCase());
|
||||
expect(enemyField[0]).toBeDefined();
|
||||
});
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { expect, describe, it, beforeAll } from "vitest";
|
||||
import { randomString, padInt } from "./utils/common";
|
||||
import { randomString, padInt } from "#app/utils/common";
|
||||
|
||||
import Phaser from "phaser";
|
||||
|
||||
|
|
Loading…
Reference in New Issue