fix: apply a workaround for the prettier / jsdom-global bug

Since this issue is not going to get a proper fix any time soon,
this workaround is better than pinning prettier version in
`@vue/component-compiler-utils`
This commit is contained in:
Haoqun Jiang
2019-01-29 11:59:07 +08:00
parent 9c1e797ac6
commit bca6edc7aa

View File

@@ -1 +1,4 @@
require('jsdom-global')(undefined, { pretendToBeVisual: true, url: 'http://localhost' })
// https://github.com/vuejs/vue-test-utils/issues/936
window.Date = Date