mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 00:09:31 +02:00
Fix linting
This commit is contained in:
parent
07834e63f2
commit
3d3dfd7930
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user