Skip to content

Commit 223247b

Browse files
committed
Restore mock after use
1 parent ed34a69 commit 223247b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/__tests__/byText.test.js

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ describe('findBy options deprecations', () => {
142142
expect(warnSpy).toHaveBeenCalledWith(
143143
expect.stringContaining('Use of option "timeout"')
144144
);
145+
warnSpy.mockRestore();
145146
}, 20000);
146147
});
147148

0 commit comments

Comments
 (0)