diff options
Diffstat (limited to '__test__/retry-helper.test.ts')
| -rw-r--r-- | __test__/retry-helper.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/__test__/retry-helper.test.ts b/__test__/retry-helper.test.ts index b4cb999..a5d3f79 100644 --- a/__test__/retry-helper.test.ts +++ b/__test__/retry-helper.test.ts @@ -68,7 +68,7 @@ describe('retry-helper tests', () => { it('all attempts fail succeeds', async () => { let attempts = 0 - let error: Error = (null as unknown) as Error + let error: Error = null as unknown as Error try { await retryHelper.execute(() => { throw new Error(`some error ${++attempts}`) |
