Skip to content

Commit 698c497

Browse files
authored
Merge pull request #88 from CodinGame/fix-tests
Fix tests
2 parents e941abf + 49b4c92 commit 698c497

File tree

3 files changed

+449
-448
lines changed

3 files changed

+449
-448
lines changed

browserMock.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Object.defineProperty(document, 'queryCommandSupported', {
66
value: jest.fn().mockImplementation(() => true),
77
});
88

9+
window.process = undefined
10+
911
Object.defineProperty(window, 'matchMedia', {
1012
writable: true,
1113
value: jest.fn().mockImplementation(query => ({

0 commit comments

Comments
 (0)