Skip to content

Commit

Permalink
test: 解决测试失败的配置问题
Browse files Browse the repository at this point in the history
  • Loading branch information
limaofeng committed Aug 30, 2021
1 parent a0c4d2f commit 8bb790d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2,042 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"husky": "^7.0.1",
"identity-obj-proxy": "^3.0.0",
"jest-fetch-mock": "^3.0.3",
"jest-transform-graphql": "^2.1.0",
"less": "^4.1.1",
"less-loader": "^7.3.0",
"lodash-es": "^4.17.21",
Expand All @@ -109,9 +108,7 @@
"**/@typescript-eslint/parser": "^4.1.1"
},
"jest": {
"transform": {
"\\.(gql|graphql)$": "jest-transform-graphql"
},
"verbose": true,
"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)$": "identity-obj-proxy"
Expand Down
Loading

0 comments on commit 8bb790d

Please sign in to comment.