Cast to number for the comparison
This commit is contained in:
parent
e3765dc650
commit
f472d3cc0f
|
@ -37,7 +37,7 @@ const runOrderApplyCouponTest = () => {
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Make sure the simple product price is greater than the coupon amount
|
// Make sure the simple product price is greater than the coupon amount
|
||||||
await expect(simpleProductPrice).toBeGreaterThan(5.00);
|
await expect(Number(simpleProductPrice)).toBeGreaterThan(5.00);
|
||||||
} );
|
} );
|
||||||
|
|
||||||
it('can apply a coupon', async () => {
|
it('can apply a coupon', async () => {
|
||||||
|
|
Loading…
Reference in New Issue