[web] Update configuration of jest to avoid deprecation warning

This commit is contained in:
Matthew Shao 2017-03-22 18:42:46 +08:00
parent 20d3ae98e0
commit 82ecc5448d

View File

@ -8,7 +8,7 @@
}, },
"jest": { "jest": {
"testRegex": "__tests__/.*Spec.js$", "testRegex": "__tests__/.*Spec.js$",
"testPathDirs": [ "roots": [
"<rootDir>/src/js" "<rootDir>/src/js"
], ],
"unmockedModulePathPatterns": [ "unmockedModulePathPatterns": [