fix linting for tests

This commit is contained in:
eric sciple 2021-10-19 09:44:47 -05:00
parent 7b32c07aeb
commit ce360f4105
3 changed files with 8 additions and 8 deletions

View file

@ -74,7 +74,7 @@ describe('retry-helper tests', () => {
throw new Error(`some error ${++attempts}`)
})
} catch (err) {
error = err
error = err as Error
}
expect(error.message).toBe('some error 3')
expect(attempts).toBe(3)