Update test/abilities/illusion.test.ts

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
Lylian BALL 2025-03-31 11:30:10 +02:00 committed by GitHub
parent 1423903c77
commit 7a0bd4a57d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,14 +123,7 @@ describe("Abilities - Illusion", () => {
}); });
it("copy the the name, the nickname, the gender, the shininess and the pokeball of the pokemon", async () => { it("copy the the name, the nickname, the gender, the shininess and the pokeball of the pokemon", async () => {
vi.spyOn(overrides, "OPP_MOVESET_OVERRIDE", "get").mockReturnValue([ await game.classicMode.startBattle([Species.ABRA, Species.ZOROARK, Species.AXEW]).enemyMoveset([Moves.SPLASH]);
Moves.SCARY_FACE,
Moves.SCARY_FACE,
Moves.SCARY_FACE,
Moves.SCARY_FACE,
]);
await game.classicMode.startBattle([Species.ABRA, Species.ZOROARK, Species.AXEW]);
const axew = game.scene.getPlayerParty().at(2)!; const axew = game.scene.getPlayerParty().at(2)!;
axew.shiny = true; axew.shiny = true;