mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-18 22:01:49 +00:00
Fix jest and other test configs from build
This commit is contained in:
@@ -34,8 +34,6 @@
|
|||||||
"test:es": "jest --config ./scripts/jest/config.es.js",
|
"test:es": "jest --config ./scripts/jest/config.es.js",
|
||||||
"test:src": "jest --config ./scripts/jest/config.src.js",
|
"test:src": "jest --config ./scripts/jest/config.src.js",
|
||||||
"test:src:watch": "npm run test:src -- --watch",
|
"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",
|
"test:src:debug": "node --inspect ./node_modules/jest/bin/jest.js --config ./scripts/jest/config.src.js",
|
||||||
"version": "run-s test authors && git add ."
|
"version": "run-s test authors && git add ."
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,6 +3,6 @@ const srcConfig = require("./config.src");
|
|||||||
module.exports = Object.assign({}, srcConfig, {
|
module.exports = Object.assign({}, srcConfig, {
|
||||||
collectCoverage: false,
|
collectCoverage: false,
|
||||||
moduleNameMapper: {
|
moduleNameMapper: {
|
||||||
"^../src$": `<rootDir>/dist/react-fiber-traverse.esm.js`
|
"^../src$": `<rootDir>/dist/esm/index.js`
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user