Skip to content

feat: ✨ make sender in batch create optional #64

feat: ✨ make sender in batch create optional

feat: ✨ make sender in batch create optional #64

Triggered via push November 1, 2024 09:40
Status Failure
Total duration 2m 48s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
refresh › should refresh the coupon: test/Coupon.spec.ts#L31
expect(received).toBe(expected) // Object.is equality Expected: 25 Received: 0 at Object.<anonymous> (test/Coupon.spec.ts:31:32)
addCodes › should increase coupons total: test/Coupon.spec.ts#L56
expect(received).toBe(expected) // Object.is equality Expected: 25 Received: 0 at Object.<anonymous> (test/Coupon.spec.ts:56:32)
getCodes › should return a paginated response: test/Coupon.spec.ts#L76
expect(received).toBeGreaterThanOrEqual(expected) Expected: >= 1 Received: 0 at Object.<anonymous> (test/Coupon.spec.ts:76:31)
getCodes › should return a coupon code with all fields: test/Coupon.spec.ts#L91
TypeError: Cannot read properties of undefined (reading 'id') at Object.<anonymous> (test/Coupon.spec.ts:91:23)
getCode › should get code by id: test/Coupon.spec.ts#L105
TypeError: Cannot read properties of undefined (reading 'id') at Object.<anonymous> (test/Coupon.spec.ts:105:34)
refresh › should refresh the coupon code: test/CouponCode.spec.ts#L50
TypeError: Cannot read properties of undefined (reading 'used') at Object.<anonymous> (test/CouponCode.spec.ts:50:23)
getOrder › should return null if coupon code is not used yet: test/CouponCode.spec.ts#L75
TypeError: Cannot read properties of undefined (reading 'getOrder') at Object.<anonymous> (test/CouponCode.spec.ts:75:36)
getOrder › should return order when coupon code is used: src/HttpHandler.ts#L72
PrintOneError: Recipient's address is invalid at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:72:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:91:10) at PrintOne.createOrder (src/PrintOne.ts:273:22) at useCoupon (test/CouponCode.spec.ts:32:10) at Object.<anonymous> (test/CouponCode.spec.ts:83:22)
getTemplate › should get the template: src/HttpHandler.ts#L72
PrintOneError: Recipient's address is invalid at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:72:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:91:10) at PrintOne.createOrder (src/PrintOne.ts:273:22) at Object.<anonymous> (test/Order.spec.ts:19:11)
refresh › should refresh the order: src/HttpHandler.ts#L72
PrintOneError: Recipient's address is invalid at AxiosHTTPHandler.handleErrors (src/HttpHandler.ts:72:13) at AxiosHTTPHandler.handleErrors [as POST] (src/AxiosHttpHandler.ts:91:10) at PrintOne.createOrder (src/PrintOne.ts:273:22) at Object.<anonymous> (test/Order.spec.ts:19:11)
Release
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/