From 08385da331f2c39ecd10ffc47d555b3bf1fb0063 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Mon, 18 Aug 2025 10:39:18 -0700 Subject: Make retry simpler --- tst/either.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tst/either.test.ts') 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('attempt 1 failed')) .mockResolvedValueOnce(Either.left('attempt 2 failed')) .mockResolvedValueOnce(Either.right('attempt 3 success')); -- cgit v1.2.3-70-g09d2