From 9c83e43399c2fa956a3443794321adcece52a5d0 Mon Sep 17 00:00:00 2001 From: dnlup Date: Mon, 2 Sep 2019 08:06:07 +0200 Subject: [PATCH 1/2] fix(generator): add Vuetify css when css loader is selected --- generator/template/tests/helpers/setup.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/generator/template/tests/helpers/setup.js b/generator/template/tests/helpers/setup.js index 281f0ee..c2a56c0 100644 --- a/generator/template/tests/helpers/setup.js +++ b/generator/template/tests/helpers/setup.js @@ -105,6 +105,12 @@ css({ <%_ } _%> <%_ if (uiFramework === 'Vuetify') { _%> +// Setup Vuetify +// See https://vuetifyjs.com/en/getting-started/quick-start#full-installation +<%_ if (styles && styles.includes('css')) { _%> +require('vuetify/dist/vuetify.min.css') + +<%_ } _%> Vue.use(Vuetify, { iconfont: 'md' }) From e6c241d8abf52c17bb3fb7b7c9401a15a128d84c Mon Sep 17 00:00:00 2001 From: dnlup Date: Mon, 2 Sep 2019 21:05:07 +0200 Subject: [PATCH 2/2] test: update snapshots --- tests/snapshots/avaGenerator.spec.js.md | 48 +++++++++++----------- tests/snapshots/avaGenerator.spec.js.snap | Bin 4874 -> 4973 bytes 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/tests/snapshots/avaGenerator.spec.js.md b/tests/snapshots/avaGenerator.spec.js.md index 28cd81c..ec16653 100644 --- a/tests/snapshots/avaGenerator.spec.js.md +++ b/tests/snapshots/avaGenerator.spec.js.md @@ -167,7 +167,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], files: [ \'tests/unit/**/*.spec.js\' ]}', 'babel.config.js': 'module.exports = { env: { test: { plugins: [ [ \'module-resolver\', { root: \'./\', alias: { \'@\': \'./src\' } } ] ], presets: [ [ \'@vue/app\', { targets: { node: \'current\' } } ] ] } }}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -201,7 +201,7 @@ Generated by [AVA](https://ava.li). { 'babel.config.js': 'module.exports = { env: { test: { plugins: [ [ \'module-resolver\', { root: \'./\', alias: { \'@\': \'./src\' } } ] ], presets: [ [ \'@vue/app\', { targets: { node: \'current\' } } ] ] } }}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -237,7 +237,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], files: [ \'tests/unit/**/*.spec.js\' ]}', 'babel.config.js': 'module.exports = { env: { test: { plugins: [ [ \'module-resolver\', { root: \'./\', alias: { \'@\': \'./src\' } } ] ], presets: [ [ \'@vue/app\', { targets: { node: \'current\' } } ] ] } }}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -272,7 +272,7 @@ Generated by [AVA](https://ava.li). { 'babel.config.js': 'module.exports = { env: { test: { plugins: [ [ \'module-resolver\', { root: \'./\', alias: { \'@\': \'./src\' } } ] ], presets: [ [ \'@vue/app\', { targets: { node: \'current\' } } ] ] } }}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -309,7 +309,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], files: [ \'tests/unit/**/*.spec.js\' ]}', 'babel.config.js': 'module.exports = { env: { test: { plugins: [ [ \'module-resolver\', { root: \'./\', alias: { \'@\': \'./src\' } } ] ], presets: [ [ \'@vue/app\', { targets: { node: \'current\' } } ] ] } }}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -345,7 +345,7 @@ Generated by [AVA](https://ava.li). { 'babel.config.js': 'module.exports = { env: { test: { plugins: [ [ \'module-resolver\', { root: \'./\', alias: { \'@\': \'./src\' } } ] ], presets: [ [ \'@vue/app\', { targets: { node: \'current\' } } ] ] } }}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -382,7 +382,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], files: [ \'tests/unit/**/*.spec.js\' ]}', 'babel.config.js': 'module.exports = { env: { test: { plugins: [ [ \'module-resolver\', { root: \'./\', alias: { \'@\': \'./src\' } } ] ], presets: [ [ \'@vue/app\', { targets: { node: \'current\' } } ] ] } }}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -418,7 +418,7 @@ Generated by [AVA](https://ava.li). { 'babel.config.js': 'module.exports = { env: { test: { plugins: [ [ \'module-resolver\', { root: \'./\', alias: { \'@\': \'./src\' } } ] ], presets: [ [ \'@vue/app\', { targets: { node: \'current\' } } ] ] } }}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and js files to be processed by `require-extension-hooks-babel`hooks([\'vue\', \'js\']).exclude(({ filename }) => { return filename.match(/\\/node_modules\\//) || filename.includes(webpackConfig) || filename.includes(\'vue.config.js\') || filename.match(/helpers\\/setup\\.js/)}).plugin(\'babel\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -736,7 +736,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], compileEnhancements: false, files: [ \'tests/unit/**/*.spec.ts\' ], extensions: [ \'ts\' ]}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }})// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }})// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.ts': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -769,7 +769,7 @@ Generated by [AVA](https://ava.li). > Snapshot 3 { - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }})// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }})// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.ts': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -804,7 +804,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], compileEnhancements: false, files: [ \'tests/unit/**/*.spec.ts\' ], extensions: [ \'ts\' ]}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }}) // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }}) // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.ts': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -838,7 +838,7 @@ Generated by [AVA](https://ava.li). > Snapshot 3 { - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }}) // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }}) // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.ts': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -874,7 +874,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], compileEnhancements: false, files: [ \'tests/unit/**/*.spec.ts\' ], extensions: [ \'ts\' ]}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }}) // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }}) // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.ts': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -909,7 +909,7 @@ Generated by [AVA](https://ava.li). > Snapshot 3 { - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }}) // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }}) // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.ts': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -945,7 +945,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], compileEnhancements: false, files: [ \'tests/unit/**/*.spec.ts\' ], extensions: [ \'ts\' ]}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }})// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }})// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.ts': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -980,7 +980,7 @@ Generated by [AVA](https://ava.li). > Snapshot 3 { - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }})// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')const tsNode = require(\'ts-node\')const ts = tsNode.register({ compilerOptions: { /** * @see https://github.com/TypeStrong/ts-node/issues/313#issuecomment-343698812 * @type {String} */ module: \'commonjs\' }, transpileOnly: true})require(\'tsconfig-paths/register\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup vue and ts files to be processed by `ts-node`hooks([\'vue\', \'ts\']).push(({filename, content}) => { content = ts.compile(content, filename) return { content, filename }})// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.ts': 'import test from \'ava\'import { shallowMount } from \'@vue/test-utils\'import HelloWorld from \'@/components/HelloWorld.vue\'test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -1223,7 +1223,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], babel: false, compileEnhancements: false, files: [ \'tests/unit/**/*.spec.js\' ]}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'const test = require(\'ava\')const { shallowMount } = require(\'@vue/test-utils\')const HelloWorld = require(\'../../src/components/HelloWorld.vue\')test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -1254,7 +1254,7 @@ Generated by [AVA](https://ava.li). > Snapshot 3 { - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'const test = require(\'ava\')const { shallowMount } = require(\'@vue/test-utils\')const HelloWorld = require(\'../../src/components/HelloWorld.vue\')test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -1287,7 +1287,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], babel: false, compileEnhancements: false, files: [ \'tests/unit/**/*.spec.js\' ]}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'const test = require(\'ava\')const { shallowMount } = require(\'@vue/test-utils\')const HelloWorld = require(\'../../src/components/HelloWorld.vue\')test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -1319,7 +1319,7 @@ Generated by [AVA](https://ava.li). > Snapshot 3 { - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'const test = require(\'ava\')const { shallowMount } = require(\'@vue/test-utils\')const HelloWorld = require(\'../../src/components/HelloWorld.vue\')test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -1353,7 +1353,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], babel: false, compileEnhancements: false, files: [ \'tests/unit/**/*.spec.js\' ]}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'const test = require(\'ava\')const { shallowMount } = require(\'@vue/test-utils\')const HelloWorld = require(\'../../src/components/HelloWorld.vue\')test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -1386,7 +1386,7 @@ Generated by [AVA](https://ava.li). > Snapshot 3 { - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push() // Setup mocking of static assetshooks([ \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup css to be processed by `css-require-extension-hook`css({})// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationrequire(\'vuetify/dist/vuetify.min.css\')Vue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'const test = require(\'ava\')const { shallowMount } = require(\'@vue/test-utils\')const HelloWorld = require(\'../../src/components/HelloWorld.vue\')test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -1420,7 +1420,7 @@ Generated by [AVA](https://ava.li). { 'ava.config.js': 'export default { require: [ \'./tests/helpers/setup.js\' ], babel: false, compileEnhancements: false, files: [ \'tests/unit/**/*.spec.js\' ]}', - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'const test = require(\'ava\')const { shallowMount } = require(\'@vue/test-utils\')const HelloWorld = require(\'../../src/components/HelloWorld.vue\')test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } @@ -1453,7 +1453,7 @@ Generated by [AVA](https://ava.li). > Snapshot 3 { - 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})Vue.use(Vuetify, { iconfont: \'md\'})', + 'tests/helpers/setup.js': 'require(\'browser-env\')()const webpackConfig = require.resolve(\'@vue/cli-service/webpack.config.js\')const hooks = require(\'require-extension-hooks\')const css = require(\'css-modules-require-hook\')const stylus = require(\'stylus\')const Vue = require(\'vue\')const Vuetify = require(\'vuetify\')// Fix TypeError from prettierwindow.Date = Date// Setup Vue.js to remove production tipVue.config.productionTip = false// Setup vue files to be processed by `require-extension-hooks-vue`hooks(\'vue\').plugin(\'vue\').push()// Setup mocking of static assetshooks([ \'.css\', \'.png\', \'.jpg\', \'.jpeg\', \'.woff\', \'.ico\', \'.ico\', \'.svg\']).push(() => \'\')// Setup styl files to be processed by `css-require-extension-hook`css({ extensions: [\'.styl\'], preprocessCss: (css, filename) => { return stylus(css).set(\'filename\', filename).render() }})// Setup Vuetify// See https://vuetifyjs.com/en/getting-started/quick-start#full-installationVue.use(Vuetify, { iconfont: \'md\'})', 'tests/unit/example.spec.js': 'const test = require(\'ava\')const { shallowMount } = require(\'@vue/test-utils\')const HelloWorld = require(\'../../src/components/HelloWorld.vue\')test(\'HelloWorld.vue should render\', t => { const wrapper = shallowMount(HelloWorld) t.is(wrapper.constructor.name, \'VueWrapper\')})', } diff --git a/tests/snapshots/avaGenerator.spec.js.snap b/tests/snapshots/avaGenerator.spec.js.snap index 908ae91562e76467723309ad4c059011f9d42ed5..8ad08a69954bcc4f8c4b6d726e8fb978f56f820a 100644 GIT binary patch literal 4973 zcmV-z6O!yfRzV~oM1H&@DTlZEcO%`H8hg4O69RGIb zt6Tf+`~THX z)1S7P_vZGhW&3)uBzh{EDj}BYkvkAt>hQm}vEsskh1a4_y}Rv^N|r=D?Wul$CskfY zgbuiuPqS?s^}`QaBl;$EUQ)o4=+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