Fix jest and other test configs from build

This commit is contained in:
2019-08-08 18:30:51 +05:30
parent d8bc1fad5f
commit 28d5f6ab1d
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -34,8 +34,6 @@
"test:es": "jest --config ./scripts/jest/config.es.js",
"test:src": "jest --config ./scripts/jest/config.src.js",
"test:src:watch": "npm run test:src -- --watch",
"test:umd": "jest --config ./scripts/jest/config.umd.js",
"test:umdprod": "jest --config ./scripts/jest/config.umdprod.js",
"test:src:debug": "node --inspect ./node_modules/jest/bin/jest.js --config ./scripts/jest/config.src.js",
"version": "run-s test authors && git add ."
},
+1 -1
View File
@@ -3,6 +3,6 @@ const srcConfig = require("./config.src");
module.exports = Object.assign({}, srcConfig, {
collectCoverage: false,
moduleNameMapper: {
"^../src$": `<rootDir>/dist/react-fiber-traverse.esm.js`
"^../src$": `<rootDir>/dist/esm/index.js`
}
});