fix(jest): fix jest tests due to jsdom 11.12.0

close #1960
This commit is contained in:
Evan You
2018-07-27 09:21:17 -04:00
parent b60dd4b6d3
commit 7d65353661
@@ -32,7 +32,9 @@ module.exports = api => {
],
'testMatch': [
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
]
],
// https://github.com/facebook/jest/issues/6766
'testURL': 'http://localhost/'
}
if (!api.hasPlugin('typescript')) {