diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-12 19:54:27 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-12 19:54:27 +0100 |
| commit | f3d462c8183598362605dc53589583f2859f20b9 (patch) | |
| tree | 46dbcaef2d6a29ee3ec3116a0a5cc271b15013ee /jest.setup.js | |
| parent | e5399c5af894736b9593c09d440089e91f6a7042 (diff) | |
build: configure Jest
Diffstat (limited to 'jest.setup.js')
| -rw-r--r-- | jest.setup.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jest.setup.js b/jest.setup.js new file mode 100644 index 0000000..b4f1522 --- /dev/null +++ b/jest.setup.js @@ -0,0 +1,8 @@ +import '@testing-library/jest-dom/extend-expect'; + +jest.mock('next/image', () => ({ + __esModule: true, + default: () => { + return 'Next image stub'; + }, +})); |
