We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95184b8 commit 619feb1Copy full SHA for 619feb1
packages/app/lib/common/unitTestUtils.ts
@@ -30,7 +30,7 @@ export const createCheckV9Deprecation = (moduleName: string): CheckV9Deprecation
30
uniqueMessage = '',
31
) => {
32
const consoleWarnSpy = jest.spyOn(console, 'warn').mockImplementation(() => {});
33
- consoleWarnSpy.mockRestore();
+ consoleWarnSpy.mockReset();
34
modularFunction();
35
expect(consoleWarnSpy).not.toHaveBeenCalled();
36
consoleWarnSpy.mockReset();
0 commit comments