diff options
author | 2022-10-28 15:52:57 +0300 | |
---|---|---|
committer | 2023-01-13 10:37:58 +0300 | |
commit | 58f504e34fe5c37056c4e74ed8204bd0d10cb994 (patch) | |
tree | 59c9daf1be270793c294c78a079d3bc73b4d45e7 /vnext/package.json | |
parent | d1ae7c0766c1e3319b4a75164123ffd364fd2389 (diff) |
Merge Jest configuration from Next version
Diffstat (limited to 'vnext/package.json')
-rw-r--r-- | vnext/package.json | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/vnext/package.json b/vnext/package.json index 77585490..bcc2461a 100644 --- a/vnext/package.json +++ b/vnext/package.json @@ -18,6 +18,8 @@ "@babel/plugin-syntax-dynamic-import": "^7.8.3", "@babel/preset-env": "7.19.4", "@babel/preset-react": "7.18.6", + "@testing-library/jest-dom": "^5.16.5", + "@testing-library/react": "^13.4.0", "babel-jest": "^29.2.2", "babel-loader": "^9.0.0", "css-loader": "^6.7.1", @@ -72,15 +74,6 @@ ] ] }, - "jest": { - "moduleNameMapper": { - "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js", - "\\.(css|less|sass|scss)$": "<rootDir>/__mocks__/styleMock.js" - }, - "transform": { - "^.+\\.js$": "babel-jest" - } - }, "dependencies": { "@babel/register": "^7.18.9", "axios": "^1.1.3", |