Skip to content

Commit 0514df9

Browse files
committed
Install react-addons-test-utils for future component testing
1 parent a0c4104 commit 0514df9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

todomvc/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,17 @@
4444
"extract-text-webpack-plugin": "^0.9.1",
4545
"jest-cli": "^0.8.2",
4646
"jsx-loader": "^0.13.2",
47+
"react-addons-test-utils": "^0.14.3",
4748
"style-loader": "^0.13.0",
4849
"webpack": "^1.12.9",
4950
"webpack-dev-server": "^1.14.0"
5051
},
5152
"jest": {
5253
"scriptPreprocessor": "<rootDir>/node_modules/babel-jest",
5354
"unmockedModulePathPatterns": [
54-
"<rootDir>/node_modules/react"
55+
"<rootDir>/node_modules/react",
56+
"<rootDir>/node_modules/react-dom",
57+
"<rootDir>/node_modules/react-addons-test-utils"
5558
],
5659
"modulePathIgnorePatterns": [
5760
"<rootDir>/node_modules/"

0 commit comments

Comments
 (0)