diff --git a/test/abilities/oblivious.test.ts b/test/abilities/oblivious.test.ts index 3fe9dceca5b..d5089ef6a72 100644 --- a/test/abilities/oblivious.test.ts +++ b/test/abilities/oblivious.test.ts @@ -40,13 +40,13 @@ describe("Abilities - Oblivious", () => { await game.classicMode.startBattle([ Species.FEEBAS ]); const enemy = game.scene.getEnemyPokemon(); - enemy?.addTag(BattlerTagType.TAUNT); // sourceID needs to be defined + enemy?.addTag(BattlerTagType.TAUNT); expect(enemy?.getTag(BattlerTagType.TAUNT)).toBeTruthy(); game.move.select(Moves.SKILL_SWAP); await game.phaseInterceptor.to("BerryPhase"); - expect(enemy?.status).toBeFalsy(); + expect(enemy?.getTag(BattlerTagType.TAUNT)).toBeFalsy(); }); it("should remove infatuation when gained", async () => { @@ -64,6 +64,6 @@ describe("Abilities - Oblivious", () => { game.move.select(Moves.SKILL_SWAP); await game.phaseInterceptor.to("BerryPhase"); - expect(enemy?.status).toBeFalsy(); + expect(enemy?.getTag(BattlerTagType.INFATUATED)).toBeFalsy(); }); }); diff --git a/test/abilities/own_tempo.test.ts b/test/abilities/own_tempo.test.ts index 54650cd2374..936b4311b20 100644 --- a/test/abilities/own_tempo.test.ts +++ b/test/abilities/own_tempo.test.ts @@ -46,6 +46,6 @@ describe("Abilities - Own Tempo", () => { game.move.select(Moves.SKILL_SWAP); await game.phaseInterceptor.to("BerryPhase"); - expect(enemy?.status).toBeFalsy(); + expect(enemy?.getTag(BattlerTagType.CONFUSED)).toBeFalsy(); }); });