We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0a5d43 commit ea23a10Copy full SHA for ea23a10
frontend/src/setupTests.ts
@@ -30,6 +30,10 @@ if (typeof ResizeObserver === 'undefined' && typeof require !== 'undefined') {
30
(global as any).ResizeObserver = require('resize-observer-polyfill');
31
}
32
33
+globalThis.Worker = class {
34
+ postMessage() {}
35
+} as any;
36
+
37
if (globalThis.window) {
38
Object.defineProperty(window, 'matchMedia', {
39
writable: true,
0 commit comments