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 88aec0c commit 81ed082Copy full SHA for 81ed082
1 file changed
tools/jest/globals.mjs
@@ -6,4 +6,10 @@ if (typeof window !== 'undefined') {
6
window.Response = jest.fn()
7
}
8
9
+/** silence unneeded console debug (warn(...)) noise during tests */
10
+if (typeof console !== 'undefined') {
11
+ console.error = jest.fn()
12
+ console.debug = jest.fn()
13
+}
14
+
15
jest.retryTimes(3)
0 commit comments