Skip to content

Tests

Tests #79

Re-run triggered August 21, 2024 11:38
Status Failure
Total duration 42s
Billable time 6m
Artifacts

ci-cd.yml

on: pull_request
install dependencies (pnpm)
11s
install dependencies (pnpm)
check linting (eslint)
14s
check linting (eslint)
build
14s
build
check linting (prettier)
14s
check linting (prettier)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
Client.test.ts > Client (No Key): src/Client.test.ts#L12
AssertionError: expected [Function] to throw error including '[Hypixel-API-Reborn] No API Key speci…' but got 'Cannot read properties of undefined (…' Expected: "[Hypixel-API-Reborn] No API Key specified! For help join our Discord Server https://discord.gg/NSEBNMM" Received: "Cannot read properties of undefined (reading 'NO_API_KEY')" ❯ Client.test.ts:12:32
Client.test.ts > Client (No Options): src/Client.ts#L25
TypeError: Cannot read properties of undefined (reading 'NO_API_KEY') ❯ new Client Client.ts:25:55 ❯ Client.test.ts:16:18
Client.test.ts > Client (Options): src/Client.ts#L25
TypeError: Cannot read properties of undefined (reading 'NO_API_KEY') ❯ new Client Client.ts:25:55 ❯ Client.test.ts:80:18
API/getAchievements.test.ts > getAchievements (raw): src/Client.ts#L25
TypeError: Cannot read properties of undefined (reading 'NO_API_KEY') ❯ new Client Client.ts:25:55 ❯ API/getAchievements.test.ts:10:18
API/getAchievements.test.ts > getAchievements: src/Client.ts#L25
TypeError: Cannot read properties of undefined (reading 'NO_API_KEY') ❯ new Client Client.ts:25:55 ❯ API/getAchievements.test.ts:20:18
API/getActiveHouses.test.ts > getActiveHouses (raw): src/Client.ts#L25
TypeError: Cannot read properties of undefined (reading 'NO_API_KEY') ❯ new Client Client.ts:25:55 ❯ API/getActiveHouses.test.ts:6:18
API/getActiveHouses.test.ts > getActiveHouses: src/Client.ts#L25
TypeError: Cannot read properties of undefined (reading 'NO_API_KEY') ❯ new Client Client.ts:25:55 ❯ API/getActiveHouses.test.ts:16:18
API/getBoosters.test.ts > getBoosters (raw): src/Client.ts#L25
TypeError: Cannot read properties of undefined (reading 'NO_API_KEY') ❯ new Client Client.ts:25:55 ❯ API/getBoosters.test.ts:7:18
API/getBoosters.test.ts > getBoosters: src/Client.ts#L25
TypeError: Cannot read properties of undefined (reading 'NO_API_KEY') ❯ new Client Client.ts:25:55 ❯ API/getBoosters.test.ts:17:18
API/getChallenges.test.ts > getChallenges (raw): src/Client.ts#L25
TypeError: Cannot read properties of undefined (reading 'NO_API_KEY') ❯ new Client Client.ts:25:55 ❯ 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/
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
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/
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/
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/