Skip to content

Merge pull request #12 from Print-one/feat/add-get-csv-order-endpoint #41

Merge pull request #12 from Print-one/feat/add-get-csv-order-endpoint

Merge pull request #12 from Print-one/feat/add-get-csv-order-endpoint #41

Triggered via push March 7, 2024 09:21
Status Failure
Total duration 2m 51s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
refresh › should refresh the csv order: test/CsvOrder.spec.ts#L71
expect(received).toEqual(expected) // deep equality Expected: "order_created" Received: "order_processed" at Object.<anonymous> (test/CsvOrder.spec.ts:71:26)
download › should download the file: src/HttpHandler.ts#L73
PrintOneError: at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as GET] (src/AxiosHttpHandler.ts:44:10) at Object.<anonymous> (test/CustomFile.spec.ts:28:20)
getOrders › should apply the batchId filter (batchId): test/PrintOne.spec.ts#L1260
thrown: "Exceeded timeout of 5000 ms for a test. Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout." at test/PrintOne.spec.ts:1260:3 at Object.<anonymous> (test/PrintOne.spec.ts:921:1)
createBatch › should create an batch: src/HttpHandler.ts#L73
PrintOneError: Internal server error at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createBatch (src/PrintOne.ts:405:22) at Object.<anonymous> (test/PrintOne.spec.ts:1366:19)
createBatch › should create an batch with all fields: src/HttpHandler.ts#L73
PrintOneError: Internal server error at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createBatch (src/PrintOne.ts:405:22) at Object.<anonymous> (test/PrintOne.spec.ts:1381:19)
createBatch › should create an batch with a ready date: src/HttpHandler.ts#L73
PrintOneError: Internal server error at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createBatch (src/PrintOne.ts:405:22) at Object.<anonymous> (test/PrintOne.spec.ts:1416:19)
createBatch › should create an batch that is ready: src/HttpHandler.ts#L73
PrintOneError: Internal server error at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createBatch (src/PrintOne.ts:405:22) at Object.<anonymous> (test/PrintOne.spec.ts:1434:19)
createBatch › should create an batch with a billing id: src/HttpHandler.ts#L73
PrintOneError: Internal server error at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createBatch (src/PrintOne.ts:405:22) at Object.<anonymous> (test/PrintOne.spec.ts:1452:19)
createBatch › should create an batch with templateId: src/HttpHandler.ts#L73
PrintOneError: Internal server error at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createBatch (src/PrintOne.ts:405:22) at Object.<anonymous> (test/PrintOne.spec.ts:1469:19)
getBatch › should return an batch: src/HttpHandler.ts#L73
PrintOneError: Internal server error at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:92:10) at PrintOne.createBatch (src/PrintOne.ts:405:22) at Object.<anonymous> (test/PrintOne.spec.ts:1486:19)
Test
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/.