Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tienifr committed May 2, 2024
1 parent c9ad9aa commit e37e0b7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/actions/PolicyTaxTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe('actions/PolicyTax', () => {
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
fetch.fail();
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
return fetch.resume();
return fetch.resume() as Promise<unknown>;
})
.then(waitForBatchedUpdates)
.then(
Expand Down Expand Up @@ -193,7 +193,7 @@ describe('actions/PolicyTax', () => {
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
fetch.fail();
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
return fetch.resume();
return fetch.resume() as Promise<unknown>;
})
.then(waitForBatchedUpdates)
.then(
Expand Down Expand Up @@ -289,7 +289,7 @@ describe('actions/PolicyTax', () => {
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
fetch.fail();
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
return fetch.resume();
return fetch.resume() as Promise<unknown>;
})
.then(waitForBatchedUpdates)
.then(
Expand Down Expand Up @@ -397,7 +397,7 @@ describe('actions/PolicyTax', () => {
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
fetch.fail();
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
return fetch.resume();
return fetch.resume() as Promise<unknown>;
})
.then(waitForBatchedUpdates)
.then(
Expand Down Expand Up @@ -494,7 +494,7 @@ describe('actions/PolicyTax', () => {
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
fetch.fail();
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
return fetch.resume();
return fetch.resume() as Promise<unknown>;
})
.then(waitForBatchedUpdates)
.then(
Expand Down Expand Up @@ -596,7 +596,7 @@ describe('actions/PolicyTax', () => {
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
fetch.fail();
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
return fetch.resume();
return fetch.resume() as Promise<unknown>;
})
.then(waitForBatchedUpdates)
.then(
Expand Down Expand Up @@ -699,7 +699,7 @@ describe('actions/PolicyTax', () => {
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
fetch.fail();
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
return fetch.resume();
return fetch.resume() as Promise<unknown>;
})
.then(waitForBatchedUpdates)
.then(
Expand Down Expand Up @@ -858,7 +858,7 @@ describe('actions/PolicyTax', () => {
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
fetch.fail();
// @ts-expect-error TODO: Remove this once TestHelper (https://github.com/Expensify/App/issues/25318) is migrated to TypeScript.
return fetch.resume();
return fetch.resume() as Promise<unknown>;
})
.then(waitForBatchedUpdates)
.then(
Expand Down

0 comments on commit e37e0b7

Please sign in to comment.