Skip to content

Commit 86c0f84

Browse files
committed
lint fix
1 parent dcaa9dc commit 86c0f84

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

tests/actions/IOUTest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10102,6 +10102,7 @@ describe('actions/IOU', () => {
1010210102
reimbursementAccountError: undefined,
1010310103
lastUsedPaymentMethods: undefined,
1010410104
localeCompare,
10105+
currentUserAccountID: CARLOS_ACCOUNT_ID,
1010510106
});
1010610107
}
1010710108
return waitForBatchedUpdates();

tests/actions/PolicyTest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2755,6 +2755,7 @@ describe('actions/Policy', () => {
27552755
reimbursementAccountError: {},
27562756
lastUsedPaymentMethods: undefined,
27572757
localeCompare: TestHelper.localeCompare,
2758+
currentUserAccountID: ESH_ACCOUNT_ID,
27582759
});
27592760

27602761
await waitForBatchedUpdates();
@@ -2853,6 +2854,7 @@ describe('actions/Policy', () => {
28532854
reimbursementAccountError: undefined,
28542855
lastUsedPaymentMethods: undefined,
28552856
localeCompare: TestHelper.localeCompare,
2857+
currentUserAccountID: ESH_ACCOUNT_ID,
28562858
});
28572859

28582860
await waitForBatchedUpdates();
@@ -2909,6 +2911,7 @@ describe('actions/Policy', () => {
29092911
reimbursementAccountError: undefined,
29102912
lastUsedPaymentMethods: undefined,
29112913
localeCompare: TestHelper.localeCompare,
2914+
currentUserAccountID: ESH_ACCOUNT_ID,
29122915
});
29132916
await waitForBatchedUpdates();
29142917

@@ -2946,6 +2949,7 @@ describe('actions/Policy', () => {
29462949
reimbursementAccountError: undefined,
29472950
lastUsedPaymentMethods: undefined,
29482951
localeCompare: TestHelper.localeCompare,
2952+
currentUserAccountID: ESH_ACCOUNT_ID,
29492953
});
29502954
await waitForBatchedUpdates();
29512955

@@ -2985,6 +2989,7 @@ describe('actions/Policy', () => {
29852989
reimbursementAccountError: undefined,
29862990
lastUsedPaymentMethods: undefined,
29872991
localeCompare: TestHelper.localeCompare,
2992+
currentUserAccountID: ESH_ACCOUNT_ID,
29882993
});
29892994
await waitForBatchedUpdates();
29902995

tests/unit/ReportUtilsTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15068,7 +15068,7 @@ describe('ReportUtils', () => {
1506815068
const action = buildOptimisticClosedReportAction(emailClosingReport, 'Test Policy', currentUserAccountID);
1506915069
const messages = action.message as Array<{type: string; style: string; text: string}>;
1507015070

15071-
expect(messages[0]).toMatchObject({
15071+
expect(messages.at(0)).toMatchObject({
1507215072
type: CONST.REPORT.MESSAGE.TYPE.TEXT,
1507315073
style: 'strong',
1507415074
text: emailClosingReport,

0 commit comments

Comments
 (0)