fix: 🐛 accessing property that might not exist #21
Annotations
6 errors and 1 warning
uploadCustomFile › should upload a file:
src/HttpHandler.ts#L60
PrintOneError: File cf_9lwUccvFgUpv5BNEkLiZj not found
at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:60:13)
at AxiosHTTPHandler.handleErrors [as DELETE] (src/AxiosHttpHandler.ts:113:10)
at Object.<anonymous> (test/PrintOne.spec.ts:173:7)
|
uploadCustomFile › should upload a file with all fields:
src/HttpHandler.ts#L60
PrintOneError: File cf_V1QRy7AufvDEafLypVSbg not found
at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:60:13)
at AxiosHTTPHandler.handleErrors [as DELETE] (src/AxiosHttpHandler.ts:113:10)
at Object.<anonymous> (test/PrintOne.spec.ts:173:7)
|
createCsvOrder › should create a csv order with all fields:
test/PrintOne.spec.ts#L731
expect(received).toEqual(expected) // deep equality
Expected: undefined
Received: {}
at Object.<anonymous> (test/PrintOne.spec.ts:731:43)
|
getCsvOrder › should get a csv order with all fields:
test/PrintOne.spec.ts#L855
expect(received).toEqual(expected) // deep equality
Expected: undefined
Received: {}
at Object.<anonymous> (test/PrintOne.spec.ts:855:43)
|
getOrders › should get orders generated by the csv:
test/CsvOrder.spec.ts#L87
thrown: "Exceeded timeout of 30000 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/CsvOrder.spec.ts:87:3
at Object.<anonymous> (test/CsvOrder.spec.ts:86:1)
|
Release
Process completed with exit code 1.
|
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/.
|