This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
95% code test coverage #135
Annotations
8 errors and 1 warning
src/Private/Requests.ts#L54
AxiosError: Request failed with status code 429
❯ settle node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/settle.js:19:12
❯ IncomingMessage.handleStreamEnd node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:599:11
❯ Axios.request node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41
❯ Requests.request src/Private/Requests.ts:54:17
❯ getPlayer.execute src/API/getPlayer.ts:16:17
❯ src/API/getPlayer.test.ts:73:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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, */*', 'API-Key': '***', 'User-Agent': 'axios/1.7.5', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'https://api.hypixel.net/v2/player?uuid=14727faefbdc4aff848cd2713eb9939e' }, code: 'ERR_BAD_REQUEST', status: 429 }
|
src/Private/Requests.ts#L54
AxiosError: Request failed with status code 429
❯ settle node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/settle.js:19:12
❯ IncomingMessage.handleStreamEnd node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:599:11
❯ Axios.request node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41
❯ Requests.request src/Private/Requests.ts:54:17
❯ getPlayer.execute src/API/getPlayer.ts:16:17
❯ src/API/getPlayer.test.ts:86:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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, */*', 'API-Key': '***', 'User-Agent': 'axios/1.7.5', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'https://api.hypixel.net/v2/player?uuid=14727faefbdc4aff848cd2713eb9939e' }, code: 'ERR_BAD_REQUEST', status: 429 }
|
src/Private/Requests.ts#L54
AxiosError: Request failed with status code 429
❯ settle node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/settle.js:19:12
❯ IncomingMessage.handleStreamEnd node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:599:11
❯ Axios.request node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41
❯ Requests.request src/Private/Requests.ts:54:17
❯ getPlayer.execute src/API/getPlayer.ts:16:17
❯ src/API/getPlayer.test.ts:103:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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, */*', 'API-Key': '***', 'User-Agent': 'axios/1.7.5', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'https://api.hypixel.net/v2/player?uuid=14727faefbdc4aff848cd2713eb9939e' }, code: 'ERR_BAD_REQUEST', status: 429 }
|
src/Private/Requests.ts#L54
AxiosError: Request failed with status code 429
❯ settle node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/settle.js:19:12
❯ IncomingMessage.handleStreamEnd node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:599:11
❯ Axios.request node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41
❯ Requests.request src/Private/Requests.ts:54:17
❯ getPlayer.execute src/API/getPlayer.ts:16:17
❯ src/API/getPlayer.test.ts:120:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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, */*', 'API-Key': '***', 'User-Agent': 'axios/1.7.5', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'https://api.hypixel.net/v2/player?uuid=14727faefbdc4aff848cd2713eb9939e' }, code: 'ERR_BAD_REQUEST', status: 429 }
|
src/API/getSkyblockAuction.test.ts#L185
AssertionError: expected undefined not to be undefined
❯ src/API/getSkyblockAuction.test.ts:185:29
❯ src/API/getSkyblockAuction.test.ts:179:18
❯ src/API/getSkyblockAuction.test.ts:139:8
|
src/Private/Requests.ts#L54
AxiosError: Request failed with status code 429
❯ settle node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/settle.js:19:12
❯ IncomingMessage.handleStreamEnd node_modules/.pnpm/[email protected]/node_modules/axios/lib/adapters/http.js:599:11
❯ Axios.request node_modules/.pnpm/[email protected]/node_modules/axios/lib/core/Axios.js:45:41
❯ Requests.request src/Private/Requests.ts:54:17
❯ getStatus.execute src/API/getStatus.ts:15:17
❯ src/API/getStatus.test.ts:20:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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, */*', 'API-Key': '***', 'User-Agent': 'axios/1.7.5', 'Accept-Encoding': 'gzip, compress, deflate, br' }, method: 'get', url: 'https://api.hypixel.net/v2/status?uuid=14727faefbdc4aff848cd2713eb9939e' }, code: 'ERR_BAD_REQUEST', status: 429 }
|
src/structures/MiniGames/ArenaBrawl.ts#L15
TypeError: Cannot read properties of undefined (reading 'damage_1v1')
❯ new ArenaBrawlMode src/structures/MiniGames/ArenaBrawl.ts:15:19
❯ new ArenaBrawl src/structures/MiniGames/ArenaBrawl.ts:45:19
❯ new Player src/structures/Player.ts:181:14
❯ src/structures/Player.test.ts:10:16
|
|
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/
|
This job failed
Loading