Skip to content

[Bug] Refactor moves that call a random move (Metronome, Assist, Sleep Talk, Copycat, Mirror Move) #12757

[Bug] Refactor moves that call a random move (Metronome, Assist, Sleep Talk, Copycat, Mirror Move)

[Bug] Refactor moves that call a random move (Metronome, Assist, Sleep Talk, Copycat, Mirror Move) #12757

Triggered via pull request December 1, 2024 21:46
Status Cancelled
Total duration 3m 10s
Artifacts

tests.yml

on: pull_request
Run Pre-test
32s
Run Pre-test
Matrix: Run Tests
Fit to window
Zoom out
Zoom in

Annotations

19 errors
src/test/moves/assist.test.ts > Moves - Assist > should be able to use an ally's moves: src/data/move.ts#L6552
TypeError: user.scene.getParty is not a function ❯ MoveCondition.func src/data/move.ts:6552:47 ❯ MoveCondition.apply src/data/move.ts:7878:17 ❯ SelfStatusMove.applyConditions src/data/move.ts:651:22 ❯ MovePhase.useMove src/phases/move-phase.ts:314:35 ❯ MovePhase.start src/phases/move-phase.ts:164:12 ❯ Object.call src/test/utils/phaseInterceptor.ts:458:39 ❯ Timeout.<anonymous> src/test/utils/phaseInterceptor.ts:388:24
src/test/moves/assist.test.ts > Moves - Assist > should fail if there are no usable moves: src/data/move.ts#L6552
TypeError: user.scene.getParty is not a function ❯ MoveCondition.func src/data/move.ts:6552:47 ❯ MoveCondition.apply src/data/move.ts:7878:17 ❯ SelfStatusMove.applyConditions src/data/move.ts:651:22 ❯ MovePhase.useMove src/phases/move-phase.ts:314:35 ❯ MovePhase.start src/phases/move-phase.ts:164:12 ❯ Object.call src/test/utils/phaseInterceptor.ts:458:39 ❯ Timeout.<anonymous> src/test/utils/phaseInterceptor.ts:388:24
src/test/moves/assist.test.ts > Moves - Assist > should apply secondary effects of a move: src/data/move.ts#L6552
TypeError: user.scene.getParty is not a function ❯ MoveCondition.func src/data/move.ts:6552:47 ❯ MoveCondition.apply src/data/move.ts:7878:17 ❯ SelfStatusMove.applyConditions src/data/move.ts:651:22 ❯ MovePhase.useMove src/phases/move-phase.ts:314:35 ❯ MovePhase.start src/phases/move-phase.ts:164:12 ❯ Object.call src/test/utils/phaseInterceptor.ts:458:39 ❯ Timeout.<anonymous> src/test/utils/phaseInterceptor.ts:388:24
Run Tests (7) / Shard 7 of 10
Process completed with exit code 1.
Run Tests (5) / Shard 5 of 10
FailFast: cancelling since parallel instance has failed
Run Tests (8) / Shard 8 of 10
FailFast: cancelling since parallel instance has failed
Run Tests (8) / Shard 8 of 10
The operation was canceled.
Run Tests (9) / Shard 9 of 10
FailFast: cancelling since parallel instance has failed
Run Tests (9) / Shard 9 of 10
The operation was canceled.
Run Tests (4) / Shard 4 of 10
FailFast: cancelling since parallel instance has failed
Run Tests (4) / Shard 4 of 10
The operation was canceled.
Run Tests (1) / Shard 1 of 10
FailFast: cancelling since parallel instance has failed
Run Tests (1) / Shard 1 of 10
The operation was canceled.
Run Tests (2) / Shard 2 of 10
FailFast: cancelling since parallel instance has failed
Run Tests (2) / Shard 2 of 10
The operation was canceled.
Run Tests (3) / Shard 3 of 10
FailFast: cancelling since parallel instance has failed
Run Tests (3) / Shard 3 of 10
The operation was canceled.
Run Tests (6) / Shard 6 of 10
FailFast: cancelling since parallel instance has failed
Run Tests (6) / Shard 6 of 10
The operation was canceled.