Skip to content

Commit 9ac3cd7

Browse files
committed
update explain comment
1 parent 0cf6d17 commit 9ac3cd7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/actions/IOUTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2317,7 +2317,7 @@ describe('actions/IOU', () => {
23172317
expect(report?.participants?.[RORY_ACCOUNT_ID].notificationPreference).toBe(CONST.REPORT.NOTIFICATION_PREFERENCE.ALWAYS);
23182318
});
23192319

2320-
it('should update the description correctly when completing the split bill', async () => {
2320+
it('the description should not be parsed again after completing the scan split bill without changing the description', async () => {
23212321
const reportID = '1';
23222322
await Onyx.merge(`${ONYXKEYS.COLLECTION.REPORT}${reportID}`, {
23232323
reportID,
@@ -2370,7 +2370,7 @@ describe('actions/IOU', () => {
23702370

23712371
splitTransaction = await getOnyxValue(`${ONYXKEYS.COLLECTION.TRANSACTION}${splitTransactionID}`);
23722372

2373-
// Then the description should be the same
2373+
// Then the description should be the same since it was not changed
23742374
expect(splitTransaction?.comment?.comment).toBe('<h1>test</h1>');
23752375
});
23762376
});

0 commit comments

Comments
 (0)