Fix linting

This commit is contained in:
NightKev 2024-10-03 22:45:17 -07:00 committed by GitHub
parent 07834e63f2
commit 3d3dfd7930
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -231,7 +231,7 @@ describe("Abilities - Disguise", () => {
await game.classicMode.startBattle(); await game.classicMode.startBattle();
game.move.select(Moves.POWER_TRIP); game.move.select(Moves.POWER_TRIP);
await game.setTurnOrder([BattlerIndex.ENEMY, BattlerIndex.PLAYER]); await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
await game.toNextTurn(); await game.toNextTurn();
expect(game.scene.getEnemyPokemon()!.formIndex).toBe(disguisedForm); expect(game.scene.getEnemyPokemon()!.formIndex).toBe(disguisedForm);

View File

@ -239,8 +239,8 @@ describe("Abilities - Gulp Missile", () => {
it("doesn't trigger if user is behind a substitute", async () => { it("doesn't trigger if user is behind a substitute", async () => {
game.override game.override
.enemyAbility(Abilities.STURDY) .enemyAbility(Abilities.STURDY)
.enemyMoveset([Moves.SPLASH, Moves.POWER_TRIP]); .enemyMoveset([ Moves.SPLASH, Moves.POWER_TRIP ]);
await game.classicMode.startBattle([Species.CRAMORANT]); await game.classicMode.startBattle([ Species.CRAMORANT ]);
game.move.select(Moves.SURF); game.move.select(Moves.SURF);
await game.forceEnemyMove(Moves.SPLASH); await game.forceEnemyMove(Moves.SPLASH);
@ -250,7 +250,7 @@ describe("Abilities - Gulp Missile", () => {
game.move.select(Moves.SUBSTITUTE); game.move.select(Moves.SUBSTITUTE);
await game.forceEnemyMove(Moves.POWER_TRIP); await game.forceEnemyMove(Moves.POWER_TRIP);
await game.setTurnOrder([BattlerIndex.PLAYER, BattlerIndex.ENEMY]); await game.setTurnOrder([ BattlerIndex.PLAYER, BattlerIndex.ENEMY ]);
await game.toNextTurn(); await game.toNextTurn();
expect(game.scene.getPlayerPokemon()!.formIndex).toBe(GULPING_FORM); expect(game.scene.getPlayerPokemon()!.formIndex).toBe(GULPING_FORM);

View File

@ -230,7 +230,7 @@ describe("Abilities - Ice Face", () => {
await game.classicMode.startBattle(); await game.classicMode.startBattle();
game.move.select(Moves.POWER_TRIP); game.move.select(Moves.POWER_TRIP);
await game.setTurnOrder([BattlerIndex.ENEMY, BattlerIndex.PLAYER]); await game.setTurnOrder([ BattlerIndex.ENEMY, BattlerIndex.PLAYER ]);
await game.toNextTurn(); await game.toNextTurn();
expect(game.scene.getEnemyPokemon()!.formIndex).toBe(icefaceForm); expect(game.scene.getEnemyPokemon()!.formIndex).toBe(icefaceForm);