Skip to content

Tests

Tests #88

Triggered via pull request August 22, 2024 10:53
@KathundKathund
synchronize #24
tests
Status Failure
Total duration 2m 4s
Billable time 6m
Artifacts

ci-cd.yml

on: pull_request
install dependencies (pnpm)
10s
install dependencies (pnpm)
check linting (eslint)
17s
check linting (eslint)
build
20s
build
check linting (prettier)
13s
check linting (prettier)
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 6 warnings
Unhandled error: src/Private/Updater.ts#L29
{ message: '', name: 'AggregateError', description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, stack: 'AggregateError: \n' + ' at Function.AxiosError.from (file:///home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js:89:14)\n' + ' at RedirectableRequest.handleRequestError (file:///home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:620:25)\n' + ' at RedirectableRequest.emit (node:events:519:28)\n' + ' at ClientRequest.eventHandlers.<computed> (/home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/follow-redirects/index.js:38:24)\n' + ' at ClientRequest.emit (node:events:519:28)\n' + ' at Socket.socketErrorListener (node:_http_client:500:9)\n' + ' at Socket.emit (node:events:519:28)\n' + ' at emitErrorNT (node:internal/streams/destroy:169:8)\n' + ' at emitErrorCloseNT (node:internal/streams/destroy:128:3)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:82:21)\n' + ' at Axios.request (file:///home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at Updater.getLatestVersion (/home/runner/work/reborn-ts/reborn-ts/src/Private/Updater.ts:29:21)\n' + ' at Updater.checkForUpdates (/home/runner/work/reborn-ts/reborn-ts/src/Private/Updater.ts:17:26)', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/1.7.4', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'http://localhost:3000/npm/hypixel-api-reborn' }, code: 'ECONNREFUSED', status: null, VITEST_TEST_NAME: undefined, VITEST_TEST_PATH: 'src/Private/Updater.test.ts', VITEST_AFTER_ENV_TEARDOWN: undefined, type: 'Unhandled Rejection', stacks: [ { method: 'Function.AxiosError.from', file: '/home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js', line: 89, column: 14 }, { method: 'RedirectableRequest.handleRequestError', file: '/home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js', line: 620, column: 25 }, { method: 'RedirectableRequest.emit', file: '/home/runner/work/reborn-ts/reborn-ts/node:events', line: 519, column: 28 }, { method: 'ClientRequest.eventHandlers.<computed>', file: '/home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/follow-redirects/index.js', line: 38, column: 24 }, { method: 'ClientRequest.emit', file: '/home/runner/work/reborn-ts/reborn-ts/node:events', line: 519, column: 28 }, { method: 'Socket.socketErrorListener', file: '/home/runner/work/reborn-ts/reborn-ts/node:_http_client', line: 500, column: 9 }, { method: 'Socket.emit', file: '/home/runner/work/reborn-ts/reborn-ts/node:events', line: 519, column: 28 }, { method: 'emitErrorNT', file: '/home/runner/work/reborn-ts/reborn-ts/node:internal/streams/destroy', line: 169, column: 8 }, { method:
Unhandled error: src/Private/Updater.ts#L29
{ message: '', name: 'AggregateError', description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, stack: 'AggregateError: \n' + ' at Function.AxiosError.from (file:///home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js:89:14)\n' + ' at RedirectableRequest.handleRequestError (file:///home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:620:25)\n' + ' at RedirectableRequest.emit (node:events:519:28)\n' + ' at ClientRequest.eventHandlers.<computed> (/home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/follow-redirects/index.js:38:24)\n' + ' at ClientRequest.emit (node:events:519:28)\n' + ' at Socket.socketErrorListener (node:_http_client:500:9)\n' + ' at Socket.emit (node:events:519:28)\n' + ' at emitErrorNT (node:internal/streams/destroy:169:8)\n' + ' at emitErrorCloseNT (node:internal/streams/destroy:128:3)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:82:21)\n' + ' at Axios.request (file:///home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at Updater.getLatestVersion (/home/runner/work/reborn-ts/reborn-ts/src/Private/Updater.ts:29:21)', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'User-Agent': 'axios/1.7.4', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'http://localhost:3000/npm/hypixel-api-reborn' }, code: 'ECONNREFUSED', status: null, VITEST_TEST_NAME: undefined, VITEST_TEST_PATH: 'src/Private/Updater.test.ts', VITEST_AFTER_ENV_TEARDOWN: undefined, type: 'Unhandled Rejection', stacks: [ { method: 'Function.AxiosError.from', file: '/home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js', line: 89, column: 14 }, { method: 'RedirectableRequest.handleRequestError', file: '/home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js', line: 620, column: 25 }, { method: 'RedirectableRequest.emit', file: '/home/runner/work/reborn-ts/reborn-ts/node:events', line: 519, column: 28 }, { method: 'ClientRequest.eventHandlers.<computed>', file: '/home/runner/work/reborn-ts/reborn-ts/node_modules/.pnpm/[email protected]/node_modules/follow-redirects/index.js', line: 38, column: 24 }, { method: 'ClientRequest.emit', file: '/home/runner/work/reborn-ts/reborn-ts/node:events', line: 519, column: 28 }, { method: 'Socket.socketErrorListener', file: '/home/runner/work/reborn-ts/reborn-ts/node:_http_client', line: 500, column: 9 }, { method: 'Socket.emit', file: '/home/runner/work/reborn-ts/reborn-ts/node:events', line: 519, column: 28 }, { method: 'emitErrorNT', file: '/home/runner/work/reborn-ts/reborn-ts/node:internal/streams/destroy', line: 169, column: 8 }, { method: 'emitErrorCloseNT', file: '/home/runner/work/reborn-ts/reborn-ts/node:internal/streams/destroy',
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/