give tests breathing room

Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
This commit is contained in:
muscode 2024-11-03 12:23:33 -06:00 committed by GitHub
parent 2670fdf81e
commit 678353c635
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,6 +117,7 @@ describe("Moves - Fairy Lock", () => {
expect(game.scene.getPlayerField()[0].species.speciesId).not.toBe(Species.KLEFKI); expect(game.scene.getPlayerField()[0].species.speciesId).not.toBe(Species.KLEFKI);
expect(game.scene.getPlayerField()[1].species.speciesId).not.toBe(Species.TYRUNT); expect(game.scene.getPlayerField()[1].species.speciesId).not.toBe(Species.TYRUNT);
}); });
it("If a Pokemon faints and is replaced the replacement is also trapped", async () => { it("If a Pokemon faints and is replaced the replacement is also trapped", async () => {
game.override.moveset([ Moves.FAIRY_LOCK, Moves.SPLASH, Moves.MEMENTO ]); game.override.moveset([ Moves.FAIRY_LOCK, Moves.SPLASH, Moves.MEMENTO ]);
await game.classicMode.startBattle([ Species.KLEFKI, Species.GUZZLORD, Species.TYRUNT, Species.ZYGARDE ]); await game.classicMode.startBattle([ Species.KLEFKI, Species.GUZZLORD, Species.TYRUNT, Species.ZYGARDE ]);