mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-14 03:11:19 -06:00
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`
5 lines
163 B
JavaScript
5 lines
163 B
JavaScript
require('jsdom-global')(undefined, { pretendToBeVisual: true, url: 'http://localhost' })
|
|
|
|
// https://github.com/vuejs/vue-test-utils/issues/936
|
|
window.Date = Date
|