Skip to content

chore: fix tests

chore: fix tests #45

Re-run triggered June 27, 2024 08:12
Status Failure
Total duration 1m 59s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
download › should download the preview: src/HttpHandler.ts#L73
PrintOneError: at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as GETBuffer] (src/AxiosHttpHandler.ts:67:10) at Order.download (src/models/Order.ts:170:12) at Object.<anonymous> (test/Order.spec.ts:71:20)
download › should throw an error when no polling: src/HttpHandler.ts#L73
PrintOneError: Unauthorized at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createOrder (src/PrintOne.ts:269:22) at Object.<anonymous> (test/Order.spec.ts:19:11)
cancel › should cancel the order: src/HttpHandler.ts#L73
PrintOneError: Unauthorized at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createOrder (src/PrintOne.ts:269:22) at Object.<anonymous> (test/Order.spec.ts:19:11)
cancel › should throw an error when no polling: src/HttpHandler.ts#L73
PrintOneError: Unauthorized at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createOrder (src/PrintOne.ts:269:22) at Object.<anonymous> (test/Order.spec.ts:19:11)
fields › anonymizedAt › should be undefined if not anonymized: src/HttpHandler.ts#L73
PrintOneError: Unauthorized at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createOrder (src/PrintOne.ts:269:22) at Object.<anonymous> (test/Order.spec.ts:19:11)
fields › anonymizedAt › should be a date if anonymized: src/HttpHandler.ts#L73
PrintOneError: Unauthorized at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createOrder (src/PrintOne.ts:269:22) at Object.<anonymous> (test/Order.spec.ts:19:11)
fields › should have all fields: src/HttpHandler.ts#L73
PrintOneError: Unauthorized at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as GET] (src/AxiosHttpHandler.ts:44:10) at PrintOne.getTemplates (src/PrintOne.ts:218:18) at Object.<anonymous> (test/PaginatedResponse.spec.ts:8:15)
next() › should return the next page: src/HttpHandler.ts#L73
PrintOneError: Unauthorized at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as GET] (src/AxiosHttpHandler.ts:44:10) at PrintOne.getTemplates (src/PrintOne.ts:218:18) at Object.<anonymous> (test/PaginatedResponse.spec.ts:8:15)
next() › should return null if there is no next page: src/HttpHandler.ts#L73
PrintOneError: Unauthorized at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as GET] (src/AxiosHttpHandler.ts:44:10) at PrintOne.getTemplates (src/PrintOne.ts:218:18) at Object.<anonymous> (test/PaginatedResponse.spec.ts:8:15)
previous() › should return the previous page: src/HttpHandler.ts#L73
PrintOneError: Unauthorized at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as GET] (src/AxiosHttpHandler.ts:44:10) at PrintOne.getTemplates (src/PrintOne.ts:218:18) at Object.<anonymous> (test/PaginatedResponse.spec.ts:8:15)
Release
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.