mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-23 08:42:19 +02:00
Even more renames
This commit is contained in:
parent
29ba6ac96d
commit
50c02177a2
@ -122,7 +122,7 @@ describe("Test Battle Phase", () => {
|
||||
}, 20000);
|
||||
|
||||
it("load 100% data file", async () => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
|
@ -29,7 +29,7 @@ describe("Egg Generation Tests", () => {
|
||||
});
|
||||
|
||||
beforeEach(async () => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
});
|
||||
|
||||
it("should return Kyogre for the 10th of June", () => {
|
||||
|
@ -25,7 +25,7 @@ describe("Manaphy Eggs", () => {
|
||||
});
|
||||
|
||||
beforeEach(async () => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
|
||||
/**
|
||||
* In our tests, we will perform an "RNG sweep" by letting rngSweepProgress
|
||||
|
@ -38,7 +38,7 @@ describe("UI - Pokedex", () => {
|
||||
});
|
||||
|
||||
it("Bulbasaur - shiny - variant 2 male", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -98,7 +98,7 @@ describe("UI - Pokedex", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - shiny - variant 2 female hardy overgrow", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -160,7 +160,7 @@ describe("UI - Pokedex", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - shiny - variant 2 female lonely chlorophyl", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -225,7 +225,7 @@ describe("UI - Pokedex", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - shiny - variant 2 female", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -286,7 +286,7 @@ describe("UI - Pokedex", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - not shiny", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -346,7 +346,7 @@ describe("UI - Pokedex", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - shiny - variant 1", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -408,7 +408,7 @@ describe("UI - Pokedex", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - shiny - variant 0", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -469,7 +469,7 @@ describe("UI - Pokedex", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Check if first pokemon in party is caterpie from gen 1 and 1rd row, 3rd column", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -533,7 +533,7 @@ describe("UI - Pokedex", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Check if first pokemon in party is nidoran_m from gen 1 and 2nd row, 4th column (cursor (9+4)-1)", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
|
@ -38,7 +38,7 @@ describe("UI - Starter select", () => {
|
||||
});
|
||||
|
||||
it("Bulbasaur - shiny - variant 2 male", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -98,7 +98,7 @@ describe("UI - Starter select", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - shiny - variant 2 female hardy overgrow", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -160,7 +160,7 @@ describe("UI - Starter select", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - shiny - variant 2 female lonely chlorophyl", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -225,7 +225,7 @@ describe("UI - Starter select", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - shiny - variant 2 female", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -286,7 +286,7 @@ describe("UI - Starter select", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - not shiny", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -346,7 +346,7 @@ describe("UI - Starter select", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - shiny - variant 1", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -408,7 +408,7 @@ describe("UI - Starter select", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Bulbasaur - shiny - variant 0", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -469,7 +469,7 @@ describe("UI - Starter select", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Check if first pokemon in party is caterpie from gen 1 and 1rd row, 3rd column", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
@ -533,7 +533,7 @@ describe("UI - Starter select", () => {
|
||||
}, 20000);
|
||||
|
||||
it("Check if first pokemon in party is nidoran_m from gen 1 and 2nd row, 4th column (cursor (9+4)-1)", async() => {
|
||||
await game.importData("src/test/utils/saves/everything.prsv");
|
||||
await game.importData("test/utils/saves/everything.prsv");
|
||||
const caughtCount = Object.keys(game.scene.gameData.dexData).filter((key) => {
|
||||
const species = game.scene.gameData.dexData[key];
|
||||
return species.caughtAttr !== 0n;
|
||||
|
@ -90,7 +90,7 @@ class Fakepad extends Phaser.Input.Gamepad.Gamepad {
|
||||
|
||||
class FakeMobile {
|
||||
constructor() {
|
||||
const fakeMobilePage = fs.readFileSync("./src/test/utils/fakeMobile.html", { encoding: "utf8", flag: "r" });
|
||||
const fakeMobilePage = fs.readFileSync("./test/utils/fakeMobile.html", { encoding: "utf8", flag: "r" });
|
||||
const dom = new JSDOM(fakeMobilePage);
|
||||
Object.defineProperty(window, "document", {
|
||||
value: dom.window.document,
|
||||
|
Loading…
Reference in New Issue
Block a user