This commit is contained in:
Tatyana Kostromskaya committed 2023-10-05 13:10:00 +02:00
1 parent 317b5f36ae
commit 9a43814785
8 files changed
+24 -19

No files matched your search

+1 -1
View File
@@ -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}`)