Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/__test__/retry-helper.test.ts
diff options
context:
space:
mode:
Diffstat (limited to '__test__/retry-helper.test.ts')
-rw-r--r--__test__/retry-helper.test.ts2
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}`)