1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00

Fixed failing jest-tests

This commit is contained in:
Ivar 2016-05-01 16:25:44 +02:00 committed by Ivar Conradi Østhus
parent 29a7cc0049
commit f7bde74a28

View File

@ -75,7 +75,7 @@
"eslint-config-spt": "^2.0.0", "eslint-config-spt": "^2.0.0",
"eslint-plugin-react": "^4.3.0", "eslint-plugin-react": "^4.3.0",
"istanbul": "^0.4.3", "istanbul": "^0.4.3",
"jest-cli": "0.5.4", "jest-cli": "0.5.8",
"mocha": "^2.4.5", "mocha": "^2.4.5",
"mocha-lcov-reporter": "1.2.0", "mocha-lcov-reporter": "1.2.0",
"nsp": "^2.3.2", "nsp": "^2.3.2",
@ -87,6 +87,9 @@
}, },
"jest": { "jest": {
"scriptPreprocessor": "<rootDir>/jest-preprocessor.js", "scriptPreprocessor": "<rootDir>/jest-preprocessor.js",
"modulePathIgnorePatterns": [
"<rootDir>/node_modules/npm"
],
"unmockedModulePathPatterns": [ "unmockedModulePathPatterns": [
"<rootDir>/node_modules/react", "<rootDir>/node_modules/react",
"<rootDir>/node_modules/reflux" "<rootDir>/node_modules/reflux"