mirror of
https://github.com/actions/checkout.git
synced 2025-05-11 18:50:02 +00:00
.
This commit is contained in:
parent
317b5f36ae
commit
9a43814785
8 changed files with 24 additions and 19 deletions
|
@ -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}`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue