Skip to content

Add skill cape perks to comp & master cape #734

Add skill cape perks to comp & master cape

Add skill cape perks to comp & master cape #734

Triggered via pull request June 12, 2024 00:17
Status Failure
Total duration 3m 8s
Artifacts

unit_tests.yml

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

Annotations

5 errors and 7 warnings
tests/unit/Gear.test.ts > Gear > allItems: tests/unit/Gear.test.ts#L38
AssertionError: expected [ Array(28) ] to deeply equal [ Array(25) ] - Expected + Received Array [ "Agility cape", "Attack cape", "Construct. cape", "Cooking cape", "Crafting cape", "Defence cape", + "Divination cape", + "Dungeoneering cape", "Farming cape", "Firemaking cape", "Fishing cape", "Fletching cape", "Graceful cape", "Herblore cape", "Hitpoints cape", "Hunter cape", + "Invention cape", "Magic cape", "Max cape", "Mining cape", "Prayer cape", "Ranging cape", "Runecraft cape", "Slayer cape", "Smithing cape", "Strength cape", "Thieving cape", "Woodcutting cape", ] ❯ tests/unit/Gear.test.ts:38:20
tests/unit/similarItems.test.ts > Gear > Comp cape: tests/unit/similarItems.test.ts#L277
AssertionError: expected false to deeply equal true - Expected + Received - true + false ❯ tests/unit/similarItems.test.ts:277:49
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.
Node v18.12.0 - ubuntu-latest
The operation was canceled.
Node v20 - ubuntu-latest: src/lib/data/similarItems.ts#L487
'similarItems' is already declared in the upper scope on line 482 column 14
Node v20 - ubuntu-latest: src/lib/data/similarItems.ts#L496
'itemID' is already declared in the upper scope on line 4 column 8
Node v20 - ubuntu-latest: tests/unit/similarItems.test.ts#L245
'testGear' is already declared in the upper scope on line 11 column 8
Node v20 - ubuntu-latest: tests/unit/similarItems.test.ts#L247
'testGear2' is already declared in the upper scope on line 31 column 8
Node v20 - ubuntu-latest: tests/unit/similarItems.test.ts#L249
'testGear3' is already declared in the upper scope on line 46 column 8
Node v20 - ubuntu-latest: tests/unit/similarItems.test.ts#L251
'testGear4' is already declared in the upper scope on line 54 column 8
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/.