diff --git a/src/test/abilities/mirror_armor.test.ts b/src/test/abilities/mirror_armor.test.ts index 556afa4b8db..070428a8ee7 100644 --- a/src/test/abilities/mirror_armor.test.ts +++ b/src/test/abilities/mirror_armor.test.ts @@ -50,7 +50,7 @@ describe("Ability - Mirror Armor", () => { expect(enemyPokemon.getStatStage(Stat.ATK)).toBe(-1); expect(userPokemon.getStatStage(Stat.ATK)).toBe(0); - }, 20000); + }); it("Enemy side + single battle Intimidate - player loses stats", async () => { game.override.enemyAbility(Abilities.MIRROR_ARMOR); @@ -67,7 +67,7 @@ describe("Ability - Mirror Armor", () => { expect(userPokemon.getStatStage(Stat.ATK)).toBe(-1); expect(enemyPokemon.getStatStage(Stat.ATK)).toBe(0); - }, 20000); + }); it("Player side + double battle Intimidate - opponents each lose -2 atk", async () => { game.override.battleType("double"); @@ -89,7 +89,7 @@ describe("Ability - Mirror Armor", () => { expect(enemy2.getStatStage(Stat.ATK)).toBe(-2); expect(player1.getStatStage(Stat.ATK)).toBe(0); expect(player2.getStatStage(Stat.ATK)).toBe(0); - }, 20000); + }); it("Enemy side + double battle Intimidate - players each lose -2 atk", async () => { game.override.battleType("double"); @@ -111,7 +111,7 @@ describe("Ability - Mirror Armor", () => { expect(enemy2.getStatStage(Stat.ATK)).toBe(0); expect(player1.getStatStage(Stat.ATK)).toBe(-2); expect(player2.getStatStage(Stat.ATK)).toBe(-2); - }, 20000); + }); it("Player side + single battle Intimidate + Tickle - opponent loses stats", async () => { game.override.ability(Abilities.MIRROR_ARMOR); @@ -130,7 +130,7 @@ describe("Ability - Mirror Armor", () => { expect(enemyPokemon.getStatStage(Stat.ATK)).toBe(-2); expect(userPokemon.getStatStage(Stat.ATK)).toBe(0); expect(userPokemon.getStatStage(Stat.DEF)).toBe(0); - }, 20000); + }); it("Player side + double battle Intimidate + Tickle - opponents each lose -3 atk, -1 def", async () => { game.override.battleType("double"); @@ -156,7 +156,7 @@ describe("Ability - Mirror Armor", () => { expect(enemy2.getStatStage(Stat.ATK)).toBe(-3); expect(enemy2.getStatStage(Stat.DEF)).toBe(-1); - }, 20000); + }); it("Enemy side + single battle Intimidate + Tickle - player loses stats", async () => { game.override.enemyAbility(Abilities.MIRROR_ARMOR); @@ -175,7 +175,7 @@ describe("Ability - Mirror Armor", () => { expect(userPokemon.getStatStage(Stat.ATK)).toBe(-2); expect(enemyPokemon.getStatStage(Stat.ATK)).toBe(0); expect(enemyPokemon.getStatStage(Stat.DEF)).toBe(0); - }, 20000); + }); it("Player side + single battle Intimidate + oppoenent has white smoke - no one loses stats", async () => { game.override.enemyAbility(Abilities.WHITE_SMOKE); @@ -194,7 +194,7 @@ describe("Ability - Mirror Armor", () => { expect(enemyPokemon.getStatStage(Stat.ATK)).toBe(0); expect(userPokemon.getStatStage(Stat.ATK)).toBe(0); expect(userPokemon.getStatStage(Stat.DEF)).toBe(0); - }, 20000); + }); it("Enemy side + single battle Intimidate + player has white smoke - no one loses stats", async () => { game.override.ability(Abilities.WHITE_SMOKE); @@ -213,7 +213,7 @@ describe("Ability - Mirror Armor", () => { expect(enemyPokemon.getStatStage(Stat.ATK)).toBe(0); expect(userPokemon.getStatStage(Stat.ATK)).toBe(0); expect(userPokemon.getStatStage(Stat.DEF)).toBe(0); - }, 20000); + }); it("Player side + single battle + opponent uses octolock - does not interact with mirror armor, player loses stats", async () => { game.override.ability(Abilities.MIRROR_ARMOR); @@ -231,7 +231,7 @@ describe("Ability - Mirror Armor", () => { expect(enemyPokemon.getStatStage(Stat.SPDEF)).toBe(0); expect(userPokemon.getStatStage(Stat.DEF)).toBe(-1); expect(userPokemon.getStatStage(Stat.SPDEF)).toBe(-1); - }, 20000); + }); it("Enemy side + single battle + player uses octolock - does not interact with mirror armor, opponent loses stats", async () => { game.override.enemyAbility(Abilities.MIRROR_ARMOR); @@ -249,7 +249,7 @@ describe("Ability - Mirror Armor", () => { expect(userPokemon.getStatStage(Stat.SPDEF)).toBe(0); expect(enemyPokemon.getStatStage(Stat.DEF)).toBe(-1); expect(enemyPokemon.getStatStage(Stat.SPDEF)).toBe(-1); - }, 20000); + }); it("Both sides have mirror armor - does not loop, player loses attack", async () => { game.override.enemyAbility(Abilities.MIRROR_ARMOR); @@ -266,7 +266,7 @@ describe("Ability - Mirror Armor", () => { expect(userPokemon.getStatStage(Stat.ATK)).toBe(-1); expect(enemyPokemon.getStatStage(Stat.ATK)).toBe(0); - }, 20000); + }); it("Single battle + sticky web applied player side - player switches out and enemy should lose -1 speed", async () => { game.override.ability(Abilities.MIRROR_ARMOR); @@ -285,7 +285,7 @@ describe("Ability - Mirror Armor", () => { expect(userPokemon.getStatStage(Stat.SPD)).toBe(0); expect(enemyPokemon.getStatStage(Stat.SPD)).toBe(-1); - }, 20000); + }); it("Double battle + sticky web applied player side - player switches out and enemy 1 should lose -1 speed", async () => { game.override.battleType("double"); @@ -311,5 +311,5 @@ describe("Ability - Mirror Armor", () => { expect(enemy2.getStatStage(Stat.SPD)).toBe(0); expect(player1.getStatStage(Stat.SPD)).toBe(0); expect(player2.getStatStage(Stat.SPD)).toBe(0); - }, 20000); + }); });