|
@@ -23,4 +23,10 @@ global.window = {
|
|
location: {
|
|
location: {
|
|
href: "http://test-url-base/",
|
|
href: "http://test-url-base/",
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+global.setTimeout = jest.fn();
|
|
|
|
+global.clearTimeout = jest.fn();
|
|
|
|
+
|
|
|
|
+global.setInterval = jest.fn();
|
|
|
|
+global.clearInterval = jest.fn();
|