Skip to content

Commit 5b5fa27

Browse files
committed
minor edit
1 parent 730ae7f commit 5b5fa27

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

tests/unit/ReportSecondaryActionUtilsTest.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1641,7 +1641,16 @@ describe('getSecondaryAction', () => {
16411641
jest.spyOn(ReportActionsUtils, 'getOneTransactionThreadReportID').mockReturnValue(originalMessageR14932.IOUTransactionID);
16421642
jest.spyOn(ReportUtils, 'isHoldCreator').mockReturnValue(false);
16431643

1644-
const result = getSecondaryReportActions({currentUserEmail: EMPLOYEE_EMAIL, currentUserAccountID: EMPLOYEE_ACCOUNT_ID, report, chatReport, reportTransactions, originalTransaction: {} as Transaction, violations: {}, policy});
1644+
const result = getSecondaryReportActions({
1645+
currentUserEmail: EMPLOYEE_EMAIL,
1646+
currentUserAccountID: EMPLOYEE_ACCOUNT_ID,
1647+
report,
1648+
chatReport,
1649+
reportTransactions,
1650+
originalTransaction: {} as Transaction,
1651+
violations: {},
1652+
policy,
1653+
});
16451654
expect(result).not.toContain(CONST.REPORT.SECONDARY_ACTIONS.REMOVE_HOLD);
16461655
});
16471656
});

0 commit comments

Comments
 (0)