aboutsummaryrefslogtreecommitdiffstats
path: root/jest.setup.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-03-24 21:43:44 +0100
committerArmand Philippot <git@armandphilippot.com>2022-03-24 21:43:44 +0100
commit73131da73da41c64135ed4236bd84ddba6e0c149 (patch)
tree6849f0d2884b103e432980330f866b995b7f5947 /jest.setup.js
parent6b5c861eea12c67c4440d9e086513bd8b196c150 (diff)
parent2de1ca173ee3d8e5886a1b3fdc4afbe102fad22f (diff)
build: configure Jest
Since Next.js v12, we can use next/js package with some preconfigured Jest options.
Diffstat (limited to 'jest.setup.js')
-rw-r--r--jest.setup.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/jest.setup.js b/jest.setup.js
index b4f1522..666127a 100644
--- a/jest.setup.js
+++ b/jest.setup.js
@@ -1,8 +1 @@
import '@testing-library/jest-dom/extend-expect';
-
-jest.mock('next/image', () => ({
- __esModule: true,
- default: () => {
- return 'Next image stub';
- },
-}));