diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-08-18 10:39:18 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-08-18 10:39:45 -0700 |
commit | 08385da331f2c39ecd10ffc47d555b3bf1fb0063 (patch) | |
tree | e7628e99dd371eb541742b40666146b859487f1e /tst | |
parent | 3a303475b763cbbf4d3491146582faccd8b93c99 (diff) | |
download | pengueno-08385da331f2c39ecd10ffc47d555b3bf1fb0063.tar.gz pengueno-08385da331f2c39ecd10ffc47d555b3bf1fb0063.zip |
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')); |