diff options
Diffstat (limited to 'tst')
-rw-r--r-- | tst/either.test.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tst/either.test.ts b/tst/either.test.ts index 790d392..d87bcab 100644 --- a/tst/either.test.ts +++ b/tst/either.test.ts @@ -26,7 +26,8 @@ describe('Either.retrying', () => { }); test('attempts correct number of times and calls interval with backoff', async () => { - const supplier = jest.fn() + const supplier = jest + .fn() .mockResolvedValueOnce(Either.left<string, string>('attempt 1 failed')) .mockResolvedValueOnce(Either.left<string, string>('attempt 2 failed')) .mockResolvedValueOnce(Either.right<string, string>('attempt 3 success')); |