Skip to content

Commit

Permalink
Fix ceaseless edge test for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
innerthunder committed Nov 10, 2024
1 parent d0b6f32 commit 963dfaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/test/moves/ceaseless_edge.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe("Moves - Ceaseless Edge", () => {
"trainer - move should hit twice, apply two layers of spikes, force switch opponent - opponent takes damage",
async () => {
game.override.startingHeldItems([{ name: "MULTI_LENS" }]);
game.override.startingWave(5);
game.override.startingWave(25);

await game.classicMode.startBattle([ Species.ILLUMISE ]);

Expand All @@ -102,7 +102,7 @@ describe("Moves - Ceaseless Edge", () => {
const tagBefore = game.scene.arena.getTagOnSide(ArenaTagType.SPIKES, ArenaTagSide.ENEMY) as ArenaTrapTag;
expect(tagBefore instanceof ArenaTrapTag).toBeFalsy();

await game.phaseInterceptor.to(TurnEndPhase, false);
await game.toNextTurn();
const tagAfter = game.scene.arena.getTagOnSide(ArenaTagType.SPIKES, ArenaTagSide.ENEMY) as ArenaTrapTag;
expect(tagAfter instanceof ArenaTrapTag).toBeTruthy();
expect(tagAfter.layers).toBe(2);
Expand Down
2 changes: 1 addition & 1 deletion src/test/utils/gameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export default class GameManager {
const originalMatchupScore = Trainer.prototype.getPartyMemberMatchupScores;
Trainer.prototype.getPartyMemberMatchupScores = () => {
Trainer.prototype.getPartyMemberMatchupScores = originalMatchupScore;
return [[ 1, 1000 ], [ 1, 1000 ]];
return [[ 1, 100 ], [ 1, 100 ]];
};
}

Expand Down

0 comments on commit 963dfaf

Please sign in to comment.