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.
2 parents e941abf + 49b4c92 commit 698c497Copy full SHA for 698c497
browserMock.js
@@ -6,6 +6,8 @@ Object.defineProperty(document, 'queryCommandSupported', {
6
value: jest.fn().mockImplementation(() => true),
7
});
8
9
+window.process = undefined
10
+
11
Object.defineProperty(window, 'matchMedia', {
12
writable: true,
13
value: jest.fn().mockImplementation(query => ({
0 commit comments