summaryrefslogtreecommitdiffstats
path: root/jest.setup.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-03-31 14:25:12 +0200
committerArmand Philippot <git@armandphilippot.com>2022-03-31 15:25:41 +0200
commitd7d453f7333def28007b94b9c9d872f89224fc91 (patch)
tree13d5f88b1d39d3eb46b7ba1c7003d11f827255e6 /jest.setup.js
parent6640cdd35cab960237b3011d7badc5b9b2eaa5bd (diff)
chore: add a button component
Diffstat (limited to 'jest.setup.js')
-rw-r--r--jest.setup.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jest.setup.js b/jest.setup.js
index 1088ac5..5c5ecbc 100644
--- a/jest.setup.js
+++ b/jest.setup.js
@@ -1,3 +1,4 @@
import '@testing-library/jest-dom/extend-expect';
+import './__tests__/jest/__mocks__/matchMedia.mock';
jest.mock('next/dist/client/router', () => require('next-router-mock'));