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 d8ade21 commit efc96ceCopy full SHA for efc96ce
client/config/test/jest.setup-after-env.js
@@ -3,6 +3,7 @@
3
// expect(element).toHaveTextContent(/react/i)
4
// learn more: https://github.com/testing-library/jest-dom
5
import "@testing-library/jest-dom";
6
+import { URL } from 'url';
7
8
// implementation of window.resizeTo for dispatching event
9
window.resizeTo = function resizeTo(width, height) {
@@ -53,4 +54,6 @@ class Worker {
53
54
}
55
56
-window.Worker = Worker;
57
+window.Worker = Worker;
58
+
59
+global.URL = URL;
0 commit comments