diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-03-24 15:53:30 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-03-24 18:00:22 +0100 |
| commit | fba491f2c4e878cc9c7ae9788d9316cb21e30e01 (patch) | |
| tree | a761520e8a70d35e7f206447712d8491802bc50c /tests/jest | |
| parent | 6b5c861eea12c67c4440d9e086513bd8b196c150 (diff) | |
build: configure jest
Since Next.js v12, Jest is already configured with the
next/jest package.
I also added a package to mock next/router.
Diffstat (limited to 'tests/jest')
| -rw-r--r-- | tests/jest/__mocks__/fileMock.js | 1 | ||||
| -rw-r--r-- | tests/jest/__mocks__/styleMock.js | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/tests/jest/__mocks__/fileMock.js b/tests/jest/__mocks__/fileMock.js deleted file mode 100644 index ad66de4..0000000 --- a/tests/jest/__mocks__/fileMock.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = '/test-file-stub'; diff --git a/tests/jest/__mocks__/styleMock.js b/tests/jest/__mocks__/styleMock.js deleted file mode 100644 index f053ebf..0000000 --- a/tests/jest/__mocks__/styleMock.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = {}; |
