2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 02:49:03 +00:00

chore: remove unnecessary comments

This commit is contained in:
AbleKSaju 2024-12-06 14:55:49 +05:30
parent 8dbbd253c0
commit a72e3c70be

View File

@ -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);