Skip to content

chore: fix ci running for 2 hours #62

chore: fix ci running for 2 hours

chore: fix ci running for 2 hours #62

Triggered via push April 9, 2024 09:14
Status Failure
Total duration 4m 0s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
getOrders › should get orders generated by the csv: test/CsvOrder.spec.ts#L106
expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 2 at Object.<anonymous> (test/CsvOrder.spec.ts:106:32)
getDetails() › should return details: src/models/Preview.ts#L61
TimeoutError: Timeout reached at Preview.getDetails (src/models/Preview.ts:61:21) at Object.<anonymous> (test/Preview.spec.ts:45:21)
createCsvOrder › should create a csv order with all fields: src/HttpHandler.ts#L73
PrintOneError: Missing required scope 'all.batches.live.orders.read' at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as GET] (src/AxiosHttpHandler.ts:44:10) at Batch.createCsvOrder (src/models/Batch.ts:174:21) at Object.<anonymous> (test/Batch.spec.ts:111:22)
getCsvOrder › should get a csv order with all fields: src/HttpHandler.ts#L73
PrintOneError: Missing required scope 'all.batches.live.orders.read' at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:73:13) at AxiosHTTPHandler.handleErrors [as GET] (src/AxiosHttpHandler.ts:44:10) at Batch.createCsvOrder (src/models/Batch.ts:174:21) at Object.<anonymous> (test/Batch.spec.ts:160:22)
BatchOrder › should be able to cancel Order: test/Batch.spec.ts#L410
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/Batch.spec.ts:410:3 at Object.<anonymous> (test/Batch.spec.ts:409:1)
Test
Process completed with exit code 1.
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/.