Skip to content
Prev Previous commit
Next Next commit
add jsdom for enzyme mount
  • Loading branch information
AllenFang committed Sep 17, 2017
commit 97f3f2bec3db9d92911cacd798ad938fbe2edd4f
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
"eslint-plugin-react": "^7.2.1",
"html-webpack-plugin": "^2.30.1",
"jest": "^20.0.4",
"jsdom": "^11.2.0",
"jsdom-global": "^3.0.2",
"lerna": "^2.0.0",
"node-sass": "^4.5.3",
"react-test-renderer": "^15.6.1",
Expand Down Expand Up @@ -71,7 +73,7 @@
],
"testEnvironment": "node",
"testMatch": [
"**/test/**/*.js"
"**/test/**/*.test.js"
]
}
}