summaryrefslogtreecommitdiffstats
path: root/jest.setup.js
diff options
context:
space:
mode:
Diffstat (limited to 'jest.setup.js')
-rw-r--r--jest.setup.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jest.setup.js b/jest.setup.js
index 1088ac5..d50c988 100644
--- a/jest.setup.js
+++ b/jest.setup.js
@@ -1,3 +1,5 @@
import '@testing-library/jest-dom/extend-expect';
+import './__tests__/jest/__mocks__/matchMedia.mock';
jest.mock('next/dist/client/router', () => require('next-router-mock'));
+jest.mock('next/dynamic', () => () => 'dynamic-import');