This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
Tests #86
ci-cd.yml
on: pull_request
install dependencies (pnpm)
10s
check linting (prettier)
15s
tests
42s
Annotations
10 errors and 6 warnings
src/Client.test.ts > Client (No Key):
src/Client.test.ts#L11
AssertionError: expected [Function] to throw error including '[Hypixel-API-Reborn] No API Key speci…' but got 'Cannot set properties of undefined (s…'
Expected: "[Hypixel-API-Reborn] No API Key specified! For help join our Discord Server https://discord.gg/NSEBNMM"
Received: "Cannot set properties of undefined (setting 'cache')"
❯ src/Client.test.ts:11:32
|
src/Client.test.ts > Client (No Options):
src/Client.ts#L68
TypeError: Cannot set properties of undefined (setting 'cache')
❯ Client.parasOptions src/Client.ts:68:18
❯ new Client src/Client.ts:23:10
❯ src/Client.test.ts:15:18
|
src/Client.test.ts > Client (Options):
src/Client.ts#L68
TypeError: Cannot set properties of undefined (setting 'cache')
❯ Client.parasOptions src/Client.ts:68:18
❯ new Client src/Client.ts:23:10
❯ src/Client.test.ts:79:18
|
src/API/getAchievements.test.ts > getAchievements (raw):
src/Client.ts#L68
TypeError: Cannot set properties of undefined (setting 'cache')
❯ Client.parasOptions src/Client.ts:68:18
❯ new Client src/Client.ts:23:10
❯ src/API/getAchievements.test.ts:10:18
|
src/API/getAchievements.test.ts > getAchievements:
src/Client.ts#L68
TypeError: Cannot set properties of undefined (setting 'cache')
❯ Client.parasOptions src/Client.ts:68:18
❯ new Client src/Client.ts:23:10
❯ src/API/getAchievements.test.ts:20:18
|
src/API/getActiveHouses.test.ts > getActiveHouses (raw):
src/Client.ts#L68
TypeError: Cannot set properties of undefined (setting 'cache')
❯ Client.parasOptions src/Client.ts:68:18
❯ new Client src/Client.ts:23:10
❯ src/API/getActiveHouses.test.ts:6:18
|
src/API/getActiveHouses.test.ts > getActiveHouses:
src/Client.ts#L68
TypeError: Cannot set properties of undefined (setting 'cache')
❯ Client.parasOptions src/Client.ts:68:18
❯ new Client src/Client.ts:23:10
❯ src/API/getActiveHouses.test.ts:16:18
|
src/API/getBoosters.test.ts > getBoosters (raw):
src/Client.ts#L68
TypeError: Cannot set properties of undefined (setting 'cache')
❯ Client.parasOptions src/Client.ts:68:18
❯ new Client src/Client.ts:23:10
❯ src/API/getBoosters.test.ts:7:18
|
src/API/getBoosters.test.ts > getBoosters:
src/Client.ts#L68
TypeError: Cannot set properties of undefined (setting 'cache')
❯ Client.parasOptions src/Client.ts:68:18
❯ new Client src/Client.ts:23:10
❯ src/API/getBoosters.test.ts:17:18
|
src/API/getChallenges.test.ts > getChallenges (raw):
src/Client.ts#L68
TypeError: Cannot set properties of undefined (setting 'cache')
❯ Client.parasOptions src/Client.ts:68:18
❯ new Client src/Client.ts:23:10
❯ src/API/getChallenges.test.ts:8:18
|
install dependencies (pnpm)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check linting (prettier)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check linting (eslint)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check linting (eslint):
src/Client.ts#L9
'Client' was used before it was defined
|
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|