Skip to content

Fix Tests

Fix Tests #172

Triggered via push September 5, 2024 10:09
Status Failure
Total duration 1m 35s
Artifacts

ci-cd.yml

on: push
install dependencies (pnpm)
10s
install dependencies (pnpm)
check linting (eslint)
11s
check linting (eslint)
check linting (prettier)
12s
check linting (prettier)
Fit to window
Zoom out
Zoom in

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/