eslint fixes

This commit is contained in:
Christopher Schmidt 2024-10-04 19:00:24 -04:00
parent dfdbe133d6
commit 0ac69d1ee6
6 changed files with 22 additions and 24 deletions

View File

@ -1,5 +1,4 @@
import { SemiInvulnerableTag } from "#app/data/battler-tags";
import { getMoveTargets } from "#app/data/move";
import { Abilities } from "#app/enums/abilities";
import { Stat } from "#app/enums/stat";
import { Moves } from "#enums/moves";
@ -98,16 +97,15 @@ describe("Moves - Metronome", () => {
expect(rightOpp.getStatStage(Stat.SPDEF)).toBe(0);
});
it("should be able to target itself or its ally with Acupressure", {repeats: 20}, async () => {
game.override.battleType("double");
await game.classicMode.startBattle([Species.REGIELEKI, Species.RATTATA]);
const [ leftPlayer, rightPlayer ] = game.scene.getPlayerField();
vi.spyOn(leftPlayer, "randSeedInt").mockReturnValue(Moves.ACUPRESSURE);
// it("should be able to target itself or its ally with Acupressure", { repeats: 20 }, async () => {
// game.override.battleType("double");
// await game.classicMode.startBattle([ Species.REGIELEKI, Species.RATTATA ]);
// vi.spyOn(leftPlayer, "randSeedInt").mockReturnValue(Moves.ACUPRESSURE);
// game.move.select(Moves.METRONOME);
// game.move.select(Moves.SPLASH, 1);
// await game.phaseInterceptor.to("MoveEffectPhase");
// await game.move.forceHit();
// await game.toNextTurn();
});
// // game.move.select(Moves.METRONOME);
// // game.move.select(Moves.SPLASH, 1);
// // await game.phaseInterceptor.to("MoveEffectPhase");
// // await game.move.forceHit();
// // await game.toNextTurn();
// });
});