fix: 🚨 fix linting issues #56
Annotations
5 errors and 1 warning
refresh › should refresh the coupon code:
test/CouponCode.spec.ts#L61
expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
at Object.<anonymous> (test/CouponCode.spec.ts:61:29)
|
getOrder › should return order when coupon code is used:
test/CouponCode.spec.ts#L87
expect(received).toBeInstanceOf(expected)
Expected constructor: Order
Received value has no prototype
Received value: null
at Object.<anonymous> (test/CouponCode.spec.ts:87:19)
|
cancel › should throw an error when no polling:
test/Order.spec.ts#L107
expect(received).rejects.toThrow()
Received promise resolved instead of rejected
Resolved to value: undefined
at expect (node_modules/expect/build/index.js:113:15)
at Object.<anonymous> (test/Order.spec.ts:107:11)
|
update › ready › should update the batch to not ready:
test/Batch.spec.ts#L253
expect(received).toBeUndefined()
Received: 2024-08-14T00:00:00.000Z
at Object.<anonymous> (test/Batch.spec.ts:253:30)
|
Release
Process completed with exit code 1.
|
Release
The following actions uses Node.js version which is deprecated 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/
|