summaryrefslogtreecommitdiffstats
path: root/jest.setup.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-06-01 23:21:30 +0200
committerArmand Philippot <git@armandphilippot.com>2022-06-02 19:10:28 +0200
commitf7cc48495b085fe8f6cfa37e80e968d5b47639df (patch)
tree1e43ee0095979a0009b521ef7cc2a0f069b132b3 /jest.setup.js
parenta8af53c118478e6ed68975c32cc1202b7c7b798e (diff)
test: install and configure cypress
I also configure Jest to avoid conflicts between Cypress and Jest.
Diffstat (limited to 'jest.setup.js')
-rw-r--r--jest.setup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jest.setup.js b/jest.setup.js
index d50c988..d2710ea 100644
--- a/jest.setup.js
+++ b/jest.setup.js
@@ -1,5 +1,5 @@
import '@testing-library/jest-dom/extend-expect';
-import './__tests__/jest/__mocks__/matchMedia.mock';
+import '@tests/jest/__mocks__/matchMedia.mock';
jest.mock('next/dist/client/router', () => require('next-router-mock'));
jest.mock('next/dynamic', () => () => 'dynamic-import');