summaryrefslogtreecommitdiffstats
path: root/jest.setup.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-03-29 19:40:39 +0200
committerArmand Philippot <git@armandphilippot.com>2022-03-29 19:41:59 +0200
commit6fee897c23b87228a31879a22fc778dec1c0bb92 (patch)
tree846543da630199df4f4627bcfca8d4d86b78fda6 /jest.setup.js
parentfd3e0cb88f5dbcac0a1b16b14654bf8d343e5adc (diff)
test(jest): add a test for Branding component
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 666127a..1088ac5 100644
--- a/jest.setup.js
+++ b/jest.setup.js
@@ -1 +1,3 @@
import '@testing-library/jest-dom/extend-expect';
+
+jest.mock('next/dist/client/router', () => require('next-router-mock'));