We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7396c8f commit 0bee44aCopy full SHA for 0bee44a
src/__tests__/wait-for.test.tsx
@@ -34,7 +34,7 @@ it('resolves when expectation returns a promise that resolves', async () => {
34
35
it('calls onTimeout callback with error and uses returned error when provided', async () => {
36
const customError = new Error('Custom timeout message');
37
- const onTimeout = jest.fn((error: Error) => customError);
+ const onTimeout = jest.fn((_error: Error) => customError);
38
39
await expect(
40
waitFor(
0 commit comments