Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

95% code test coverage #128

95% code test coverage

95% code test coverage #128

Triggered via pull request August 29, 2024 03:54
@KathundKathund
synchronize #51
test
Status Failure
Total duration 2m 28s
Billable time 5m
Artifacts

ci-cd.yml

on: pull_request
install dependencies (pnpm)
13s
install dependencies (pnpm)
check linting (eslint)
33s
check linting (eslint)
check linting (prettier)
22s
check linting (prettier)
Check Coverage
0s
Check Coverage
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 6 warnings
Unhandled error: src/Private/Updater.ts#L29
Error: getaddrinfo EAI_AGAIN https ❯ Function.AxiosError.from node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js:92:14 ❯ RedirectableRequest.handleRequestError node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:620:25 ❯ RedirectableRequest.emit node:events:519:28 ❯ ClientRequest.eventHandlers.<computed> node_modules/.pnpm/[email protected]/node_modules/follow-redirects/index.js:38:24 ❯ ClientRequest.emit node:events:519:28 ❯ emitErrorEvent node:_http_client:108:11 ❯ TLSSocket.socketErrorListener node:_http_client:511:5 ❯ TLSSocket.emit node:events:519:28 ❯ emitErrorNT node:internal/streams/destroy:169:8 ❯ emitErrorCloseNT node:internal/streams/destroy:128:3 ❯ Axios.request node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ Updater.getLatestVersion src/Private/Updater.ts:29:21 ❯ Updater.checkForUpdates src/Private/Updater.ts:17:26 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, 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.5', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'https:/https://registry.npmjs.org/hypixel-api-reborn' }, code: 'EAI_AGAIN', status: undefined } This error originated in "src/Private/Updater.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: src/Private/Updater.ts#L29
Error: getaddrinfo EAI_AGAIN https ❯ Function.AxiosError.from node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/AxiosError.js:92:14 ❯ RedirectableRequest.handleRequestError node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:620:25 ❯ RedirectableRequest.emit node:events:519:28 ❯ ClientRequest.eventHandlers.<computed> node_modules/.pnpm/[email protected]/node_modules/follow-redirects/index.js:38:24 ❯ ClientRequest.emit node:events:519:28 ❯ emitErrorEvent node:_http_client:108:11 ❯ TLSSocket.socketErrorListener node:_http_client:511:5 ❯ TLSSocket.emit node:events:519:28 ❯ emitErrorNT node:internal/streams/destroy:169:8 ❯ emitErrorCloseNT node:internal/streams/destroy:128:3 ❯ Axios.request node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41 ❯ processTicksAndRejections node:internal/process/task_queues:95:5 ❯ Updater.getLatestVersion src/Private/Updater.ts:29:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, 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.5', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'https:/https://registry.npmjs.org/hypixel-api-reborn' }, code: 'EAI_AGAIN', status: undefined } This error originated in "src/Private/Updater.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
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/