Skip to content

Commit

Permalink
chore: remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AbleKSaju committed Dec 6, 2024
1 parent 8dbbd25 commit a72e3c7
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions models/baseModels/tests/testCouponCodes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,8 @@ test('Coupon not applied: incorrect items added.', async (t) => {
await sinv.append('coupons', { coupons: couponCodesMap[0].name });

await sinv.runFormulas();
// await assertThrows(
// async () =>
await sinv.sync(),
// 'Minimum Amount should be less than the Maximum Amount'
// );

t.equal(sinv.coupons?.length, 0, 'coupon code is not applied');
await sinv.sync();
t.equal(sinv.coupons?.length, 0, 'coupon code is not applied');
});

closeTestFyo(fyo, __filename);

0 comments on commit a72e3c7

Please sign in to comment.