Skip to content

Commit e86b963

Browse files
committed
Fix typecheck: pass movedFromReportName in ModifiedExpenseMessageTest
Two test call sites to getForReportAction were missing the required movedFromReportName property, breaking typecheck on main.
1 parent b92d18e commit e86b963

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/unit/ModifiedExpenseMessageTest.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ describe('ModifiedExpenseMessage', () => {
465465
policyTags: undefined,
466466
currentUserAccountID: CURRENT_USER_ACCOUNT_ID,
467467
currentUserLogin: CURRENT_USER_LOGIN,
468+
movedFromReportName: undefined,
468469
});
469470

470471
expect(result).toEqual(expectedResult);
@@ -496,6 +497,7 @@ describe('ModifiedExpenseMessage', () => {
496497
policyTags: undefined,
497498
currentUserAccountID: CURRENT_USER_ACCOUNT_ID,
498499
currentUserLogin: CURRENT_USER_LOGIN,
500+
movedFromReportName: undefined,
499501
});
500502

501503
expect(result).toEqual(expectedResult);

0 commit comments

Comments
 (0)