Release v4.0.2 #561
ci.yaml
on: push
Matrix: Build
Matrix: Lint Code
Matrix: Unit Tests
Matrix: Integration Tests
Annotations
4 errors and 20 warnings
tests/integration/version2/issues.test.ts:
src/clients/baseClient.ts#L138
HttpException: Request failed with status code 404
❯ Version2Client.buildErrorHandlingResponse src/clients/baseClient.ts:138:14
❯ Version2Client.handleFailedResponse src/clients/baseClient.ts:122:22
❯ Version2Client.sendRequest src/clients/baseClient.ts:94:19
❯ Module.cleanupEnvironment tests/integration/utils/cleanupEnvironment.ts:4:3
❯ tests/integration/version2/issues.test.ts:14:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { code: 'ERR_BAD_REQUEST', message: 'Request failed with status code 404', data: { errorMessages: [ 'No project could be found with key \'AUTOTEST\'.' ], errors: {} }, status: 404, statusText: 'Not Found' }, code: 'ERR_BAD_REQUEST', status: 404, statusText: 'Not Found', initMessage: 'Function<initMessage>', initCause: 'Function<initCause>', initCode: 'Function<initCode>', initName: 'Function<initName>', initStatus: 'Function<initStatus>', initStatusText: 'Function<initStatusText>' }
Caused by: Caused by: AxiosError: Request failed with status code 404
❯ settle node_modules/axios/lib/core/settle.js:19:12
❯ BrotliDecompress.handleStreamEnd node_modules/axios/lib/adapters/http.js:599:11
❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
❯ Version2Client.sendRequest src/clients/baseClient.ts:90:24
❯ Module.cleanupEnvironment tests/integration/utils/cleanupEnvironment.ts:4:3
❯ tests/integration/version2/issues.test.ts:14:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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, */*', Authorization: 'Basic bXJyZWZhY3RvcmluZ0B5YW5kZXgucnU6***', 'User-Agent': 'axios/1.7.7', 'Accept-Encoding': 'gzip, compress, deflate, br' }, paramsSerializer: { serialize: 'Function<bound paramSerializer>' }, baseURL: '***', url: '/rest/api/2/project/AUTOTEST', method: 'delete', params: { enableUndo: false } }, code: 'ERR_BAD_REQUEST', status: 404 }
|
tests/integration/version2/issues.test.ts > should create issue:
src/clients/baseClient.ts#L138
HttpException: Request failed with status code 400
❯ Version2Client.buildErrorHandlingResponse src/clients/baseClient.ts:138:14
❯ Version2Client.handleFailedResponse src/clients/baseClient.ts:122:22
❯ Version2Client.sendRequest src/clients/baseClient.ts:94:19
❯ tests/integration/version2/issues.test.ts:18:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { code: 'ERR_BAD_REQUEST', message: 'Request failed with status code 400', data: { errorMessages: [], errors: { project: 'Specify a valid project ID or key' } }, status: 400, statusText: 'Bad Request' }, code: 'ERR_BAD_REQUEST', status: 400, statusText: 'Bad Request', initMessage: 'Function<initMessage>', initCause: 'Function<initCause>', initCode: 'Function<initCode>', initName: 'Function<initName>', initStatus: 'Function<initStatus>', initStatusText: 'Function<initStatusText>' }
Caused by: Caused by: AxiosError: Request failed with status code 400
❯ settle node_modules/axios/lib/core/settle.js:19:12
❯ IncomingMessage.handleStreamEnd node_modules/axios/lib/adapters/http.js:599:11
❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
❯ Version2Client.sendRequest src/clients/baseClient.ts:90:24
❯ tests/integration/version2/issues.test.ts:18:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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, */*', 'Content-Type': 'application/json', Authorization: 'Basic bXJyZWZhY3RvcmluZ0B5YW5kZXgucnU6***', 'User-Agent': 'axios/1.7.7', 'Content-Length': '133', 'Accept-Encoding': 'gzip, compress, deflate, br' }, paramsSerializer: { serialize: 'Function<bound paramSerializer>' }, baseURL: '***', url: '/rest/api/2/issue', method: 'post', params: {}, data: '{"fields":{"summary":"Test issue summary","issuetype":{"name":"Task"},"project":{"key":"AUTOTEST"},"description":"Test description"}}' }, code: 'ERR_BAD_REQUEST', status: 400 }
|
tests/integration/version3/issues.test.ts:
src/clients/baseClient.ts#L138
HttpException: Request failed with status code 400
❯ Version2Client.buildErrorHandlingResponse src/clients/baseClient.ts:138:14
❯ Version2Client.handleFailedResponse src/clients/baseClient.ts:122:22
❯ Version2Client.sendRequest src/clients/baseClient.ts:94:19
❯ Module.prepareEnvironment tests/integration/utils/prepareEnvironment.ts:4:3
❯ tests/integration/version3/issues.test.ts:10:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { response: { code: 'ERR_BAD_REQUEST', message: 'Request failed with status code 400', data: { errorMessages: [], errors: { projectName: 'A project with that name already exists.', projectKey: 'Project \'Jira.js project for lib automatic tests\' uses this project key.' } }, status: 400, statusText: 'Bad Request' }, code: 'ERR_BAD_REQUEST', status: 400, statusText: 'Bad Request', initMessage: 'Function<initMessage>', initCause: 'Function<initCause>', initCode: 'Function<initCode>', initName: 'Function<initName>', initStatus: 'Function<initStatus>', initStatusText: 'Function<initStatusText>' }
Caused by: Caused by: AxiosError: Request failed with status code 400
❯ settle node_modules/axios/lib/core/settle.js:19:12
❯ IncomingMessage.handleStreamEnd node_modules/axios/lib/adapters/http.js:599:11
❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
❯ Version2Client.sendRequest src/clients/baseClient.ts:90:24
❯ Module.prepareEnvironment tests/integration/utils/prepareEnvironment.ts:4:3
❯ tests/integration/version3/issues.test.ts:10:3
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
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, */*', 'Content-Type': 'application/json', Authorization: 'Basic bXJyZWZhY3RvcmluZ0B5YW5kZXgucnU6***', 'User-Agent': 'axios/1.7.7', 'Content-Length': '138', 'Accept-Encoding': 'gzip, compress, deflate, br' }, paramsSerializer: { serialize: 'Function<bound paramSerializer>' }, baseURL: '***', url: '/rest/api/2/project', method: 'post', data: '{"key":"AUTOTEST","leadAccountId":"5b6d7f20e6dba529eefdbad9","name":"Jira.js project for lib automatic tests","projectTypeKey":"software"}' }, code: 'ERR_BAD_REQUEST', status: 400 }
|
Integration Tests (18.x)
Process completed with exit code 1.
|
Lint Code (18.x):
tests/integration/utils/createSoftwareProject.ts#L19
Unexpected console statement
|
Lint Code (18.x):
tests/integration/utils/deleteSoftwareProject.ts#L14
Unexpected console statement
|
Lint Code (18.x):
tests/integration/version2/issueComments.test.ts#L37
Unexpected console statement
|
Lint Code (18.x):
examples/src/addFixVersion.ts#L22
Unexpected console statement
|
Lint Code (18.x):
examples/src/addFixVersion.ts#L26
Unexpected console statement
|
Lint Code (18.x):
examples/src/addWorklog.ts#L23
Unexpected console statement
|
Lint Code (18.x):
examples/src/addWorklog.ts#L27
Unexpected console statement
|
Lint Code (18.x):
examples/src/basic.ts#L31
Unexpected console statement
|
Lint Code (18.x):
examples/src/basic.ts#L44
Unexpected console statement
|
Lint Code (18.x):
examples/src/basic.ts#L50
Unexpected console statement
|
Lint Code (20.x):
tests/integration/utils/createSoftwareProject.ts#L19
Unexpected console statement
|
Lint Code (20.x):
tests/integration/utils/deleteSoftwareProject.ts#L14
Unexpected console statement
|
Lint Code (20.x):
tests/integration/version2/issueComments.test.ts#L37
Unexpected console statement
|
Lint Code (20.x):
examples/src/addFixVersion.ts#L22
Unexpected console statement
|
Lint Code (20.x):
examples/src/addFixVersion.ts#L26
Unexpected console statement
|
Lint Code (20.x):
examples/src/addWorklog.ts#L23
Unexpected console statement
|
Lint Code (20.x):
examples/src/addWorklog.ts#L27
Unexpected console statement
|
Lint Code (20.x):
examples/src/basic.ts#L31
Unexpected console statement
|
Lint Code (20.x):
examples/src/basic.ts#L44
Unexpected console statement
|
Lint Code (20.x):
examples/src/basic.ts#L50
Unexpected console statement
|