Skip to content

Commit 0bee44a

Browse files
committed
.
1 parent 7396c8f commit 0bee44a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__tests__/wait-for.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ it('resolves when expectation returns a promise that resolves', async () => {
3434

3535
it('calls onTimeout callback with error and uses returned error when provided', async () => {
3636
const customError = new Error('Custom timeout message');
37-
const onTimeout = jest.fn((error: Error) => customError);
37+
const onTimeout = jest.fn((_error: Error) => customError);
3838

3939
await expect(
4040
waitFor(

0 commit comments

Comments
 (0)