mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-27 01:28:56 -06:00
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:
@@ -1 +1,4 @@
|
||||
require('jsdom-global')(undefined, { pretendToBeVisual: true, url: 'http://localhost' })
|
||||
|
||||
// https://github.com/vuejs/vue-test-utils/issues/936
|
||||
window.Date = Date
|
||||
|
||||
Reference in New Issue
Block a user