Skip to content

Shorten megaduck Cooldown and don't Cooldown if you fail to move duck. #286

Shorten megaduck Cooldown and don't Cooldown if you fail to move duck.

Shorten megaduck Cooldown and don't Cooldown if you fail to move duck. #286

Triggered via pull request March 18, 2024 17:55
Status Failure
Total duration 2m 12s
Artifacts

unit_tests.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
tests/unit/circular.test.ts > Circular Dependencies > Circular Dependencies: tests/unit/circular.test.ts#L13
AssertionError: expected [ 'mahoji/lib/Cooldowns.js', …(1) ] to deeply equal [] - Expected + Received - Array [] + Array [ + "mahoji/lib/Cooldowns.js", + "lib/util.js", + ] ❯ test.timeout tests/unit/circular.test.ts:13:41
Node v20 - ubuntu-latest
Process completed with exit code 1.
Node v18.12.0 - ubuntu-latest
The job was canceled because "_20_ubuntu-latest" failed.
tests/unit/circular.test.ts > Circular Dependencies > Circular Dependencies: tests/unit/circular.test.ts#L13
AssertionError: expected [ 'mahoji/lib/Cooldowns.js', …(1) ] to deeply equal [] - Expected + Received - Array [] + Array [ + "mahoji/lib/Cooldowns.js", + "lib/util.js", + ] ❯ test.timeout tests/unit/circular.test.ts:13:41
Node v18.12.0 - ubuntu-latest
The operation was canceled.
Node v20 - ubuntu-latest: src/lib/util.ts#L190
Unexpected object value in conditional. The condition is always true
Node v20 - ubuntu-latest: src/lib/util.ts#L477
Unexpected object value in conditional. The condition is always true
Node v20 - ubuntu-latest: src/lib/util.ts#L526
Unexpected object value in conditional. The condition is always true
Node v20 - ubuntu-latest: src/lib/util.ts#L539
Unexpected value in conditional. A boolean expression is required
Node v20 - ubuntu-latest: src/lib/util.ts#L777
'itemID' is already declared in the upper scope on line 75 column 8
Node v20 - ubuntu-latest: src/mahoji/commands/megaduck.ts#L176
Unexpected any value in conditional. An explicit comparison or type cast is required
Node v20 - ubuntu-latest: src/mahoji/commands/megaduck.ts#L196
Unexpected value in conditional. A boolean expression is required
Node v20 - ubuntu-latest: src/mahoji/commands/megaduck.ts#L216
Unexpected number value in conditional. An explicit zero/NaN check is required
Node v20 - ubuntu-latest: src/mahoji/commands/megaduck.ts#L250
'user' is already declared in the upper scope on line 153 column 9
Node v20 - ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.