Merge pull request #25 from Print-one/feat/PO-2040-coupons #53
Annotations
10 errors and 1 warning
refresh › should refresh the coupon:
test/Coupon.spec.ts#L13
thrown: "Exceeded timeout of 5000 ms for a hook.
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 Object.<anonymous> (test/Coupon.spec.ts:13:1)
|
delete › should delete the order:
test/Coupon.spec.ts#L13
thrown: "Exceeded timeout of 5000 ms for a hook.
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 Object.<anonymous> (test/Coupon.spec.ts:13:1)
|
addCodes › should increase coupons total:
test/Coupon.spec.ts#L13
thrown: "Exceeded timeout of 5000 ms for a hook.
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 Object.<anonymous> (test/Coupon.spec.ts:13:1)
|
getCodes › should return a paginated response:
test/Coupon.spec.ts#L13
thrown: "Exceeded timeout of 5000 ms for a hook.
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 Object.<anonymous> (test/Coupon.spec.ts:13:1)
|
getCodes › should return a coupon code with all fields:
test/Coupon.spec.ts#L13
thrown: "Exceeded timeout of 5000 ms for a hook.
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 Object.<anonymous> (test/Coupon.spec.ts:13:1)
|
getCode › should get code by id:
test/Coupon.spec.ts#L13
thrown: "Exceeded timeout of 5000 ms for a hook.
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 Object.<anonymous> (test/Coupon.spec.ts:13:1)
|
getCode › should throw error if code does not exist:
test/Coupon.spec.ts#L13
thrown: "Exceeded timeout of 5000 ms for a hook.
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 Object.<anonymous> (test/Coupon.spec.ts:13:1)
|
refresh › should refresh the coupon code:
test/CouponCode.spec.ts#L14
thrown: "Exceeded timeout of 5000 ms for a hook.
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 Object.<anonymous> (test/CouponCode.spec.ts:14:1)
|
getOrder › should return null if coupon code is not used yet:
test/CouponCode.spec.ts#L14
thrown: "Exceeded timeout of 5000 ms for a hook.
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 Object.<anonymous> (test/CouponCode.spec.ts:14:1)
|
getOrder › should return order when coupon code is used:
test/CouponCode.spec.ts#L14
thrown: "Exceeded timeout of 5000 ms for a hook.
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 Object.<anonymous> (test/CouponCode.spec.ts:14: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/
|