This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
Fix Tests #172
ci-cd.yml
on: push
install dependencies (pnpm)
10s
check linting (prettier)
12s
tests
27s
Annotations
4 errors and 6 warnings
src/API/getRecentGames.test.ts > getRecentGames:
src/API/getRecentGames.test.ts#L44
AssertionError: expected undefined not to be undefined
❯ src/API/getRecentGames.test.ts:44:26
❯ src/API/getRecentGames.test.ts:30:8
|
src/API/getSkyblockProfiles.test.ts > getSkyblockProfiles (garden):
src/Private/RequestHandler.ts#L114
SyntaxError: Unexpected token 'N', "Not found" is not valid JSON
❯ Response.json node_modules/.pnpm/[email protected]/node_modules/node-fetch/src/body.js:149:15
❯ RequestHandler.toUUID src/Private/RequestHandler.ts:114:24
❯ getSkyblockProfiles.execute src/API/getSkyblockProfiles.ts:15:13
❯ src/API/getSkyblockProfiles.test.ts:82:16
|
src/API/getSkyblockProfiles.test.ts > getSkyblockProfiles (museum):
src/API/getSkyblockProfiles.test.ts#L143
AssertionError: expected undefined not to be undefined
❯ src/API/getSkyblockProfiles.test.ts:143:29
❯ src/API/getSkyblockProfiles.test.ts:130:8
|
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#L19
'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/
|