This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
Tests #80
ci-cd.yml
on: pull_request
install dependencies (pnpm)
8s
check linting (prettier)
18s
tests
1m 14s
Annotations
2 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
|
tests
Process completed with exit code 1.
|
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 (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
|
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/
|