Skip to content

Commit d373531

Browse files
committed
fix lint errors
1 parent ed0afa1 commit d373531

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/unit/ReportUtilsTest.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ describe('ReportUtils', () => {
306306

307307
const policy1 = {...createRandomPolicy(Number(policyID), CONST.POLICY.TYPE.TEAM), areInvoicesEnabled: true, role: CONST.POLICY.ROLE.ADMIN};
308308

309-
// Given that there is atleast one outstanding expense report in a policy
309+
// Given that there is at least one outstanding expense report in a policy
310310
const outstandingExpenseReport = {
311311
...createExpenseReport(483),
312312
policyID,
@@ -322,6 +322,7 @@ describe('ReportUtils', () => {
322322
actorAccountID: currentUserAccountID,
323323
childStateNum: CONST.REPORT.STATE_NUM.OPEN,
324324
childStatusNum: CONST.REPORT.STATUS_NUM.OPEN,
325+
// eslint-disable-next-line deprecation/deprecation
325326
originalMessage: {
326327
...randomReportAction.originalMessage,
327328
IOUReportID,
@@ -352,8 +353,8 @@ describe('ReportUtils', () => {
352353
return waitForBatchedUpdates();
353354
});
354355

355-
// Then the user should be able to move the invoice to the oustanding expense report
356-
it('should return true for invoice report action given that there is a minimum of one oustanding report', () => {
356+
// Then the user should be able to move the invoice to the outstanding expense report
357+
it('should return true for invoice report action given that there is a minimum of one outstanding report', () => {
357358
const canEditReportField = canEditFieldOfMoneyRequest(reportAction, CONST.EDIT_REQUEST_FIELD.REPORT);
358359
expect(canEditReportField).toBe(true);
359360
});

0 commit comments

Comments
 (0)