Skip to content

feat: ✨ allow for uploading CSVs to a Batch #44

feat: ✨ allow for uploading CSVs to a Batch

feat: ✨ allow for uploading CSVs to a Batch #44

Triggered via pull request March 7, 2024 09:43
Status Failure
Total duration 2m 41s
Artifacts

test.yml

on: pull_request
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)
createCsvOrder › should create a csv order 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 Batch.createCsvOrder (src/models/Batch.ts:158:22) at Object.<anonymous> (test/Batch.spec.ts:109:22)
getCsvOrder › should get a csv order 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 Batch.createCsvOrder (src/models/Batch.ts:158:22) at Object.<anonymous> (test/Batch.spec.ts:157:22)
update › ready › should update the batch to 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/Batch.spec.ts:29:11)
update › ready › should update the batch to be ready in the future: 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/Batch.spec.ts:29:11)
update › ready › should update the batch to not 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/Batch.spec.ts:29:11)
update › ready › should update the updatedAt 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/Batch.spec.ts:29:11)
update › ready › should get status ready to sent with 300+ orders: 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/Batch.spec.ts:29:11)
getTemplate › should return the template: 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/Batch.spec.ts:29:11)
refresh › should refresh the batch data: 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/Batch.spec.ts:29:11)
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/.