From 28d5f6ab1d12faa462f10d5542a5b1d362f793cb Mon Sep 17 00:00:00 2001 From: bendtherules Date: Thu, 8 Aug 2019 18:30:51 +0530 Subject: [PATCH] Fix jest and other test configs from build --- package.json | 2 -- scripts/jest/config.es.js | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index e9a26e5..2b31024 100644 --- a/package.json +++ b/package.json @@ -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 ." }, diff --git a/scripts/jest/config.es.js b/scripts/jest/config.es.js index 1a63dbf..f8b08e9 100644 --- a/scripts/jest/config.es.js +++ b/scripts/jest/config.es.js @@ -3,6 +3,6 @@ const srcConfig = require("./config.src"); module.exports = Object.assign({}, srcConfig, { collectCoverage: false, moduleNameMapper: { - "^../src$": `/dist/react-fiber-traverse.esm.js` + "^../src$": `/dist/esm/index.js` } });