@@ -4129,3 +4129,116 @@ Generated by [AVA](https://avajs.dev).
4129
4129
}␊
4130
4130
}␊
4131
4131
`
4132
+
4133
+ ## verify test: Nightwatch
4134
+
4135
+ > Generated files
4136
+
4137
+ [
4138
+ '.editorconfig',
4139
+ '.gitignore',
4140
+ 'README.md',
4141
+ 'assets/README.md',
4142
+ 'components/Logo.vue',
4143
+ 'components/README.md',
4144
+ 'layouts/README.md',
4145
+ 'layouts/default.vue',
4146
+ 'middleware/README.md',
4147
+ 'nightwatch.conf.js',
4148
+ 'nightwatch_globals.js',
4149
+ 'nuxt.config.js',
4150
+ 'package.json',
4151
+ 'pages/README.md',
4152
+ 'pages/index.vue',
4153
+ 'plugins/README.md',
4154
+ 'static/README.md',
4155
+ 'static/favicon.ico',
4156
+ 'store/README.md',
4157
+ 'test/e2e/pageObjects/main.js',
4158
+ 'test/e2e/specs/index.spec.js',
4159
+ ]
4160
+
4161
+ > package.json
4162
+
4163
+ {
4164
+ dependencies: {
4165
+ nuxt: '^2.13.0',
4166
+ },
4167
+ devDependencies: {
4168
+ chromedriver: '^83.0.0',
4169
+ nightwatch: '^1.3.6',
4170
+ },
4171
+ private: true,
4172
+ scripts: {
4173
+ build: 'nuxt build',
4174
+ dev: 'nuxt',
4175
+ export: 'nuxt export',
4176
+ serve: 'nuxt serve',
4177
+ start: 'nuxt start',
4178
+ 'test:e2e': 'nightwatch',
4179
+ },
4180
+ }
4181
+
4182
+ > Generated nuxt.config.js
4183
+
4184
+ `␊
4185
+ export default {␊
4186
+ /*␊
4187
+ ** Nuxt rendering mode␊
4188
+ ** See https://nuxtjs.org/api/configuration-mode␊
4189
+ */␊
4190
+ mode: 'universal',␊
4191
+ /*␊
4192
+ ** Nuxt target␊
4193
+ ** See https://nuxtjs.org/api/configuration-target␊
4194
+ */␊
4195
+ target: 'server',␊
4196
+ /*␊
4197
+ ** Headers of the page␊
4198
+ ** See https://nuxtjs.org/api/configuration-head␊
4199
+ */␊
4200
+ head: {␊
4201
+ title: process.env.npm_package_name || '',␊
4202
+ meta: [␊
4203
+ { charset: 'utf-8' },␊
4204
+ { name: 'viewport', content: 'width=device-width, initial-scale=1' },␊
4205
+ { hid: 'description', name: 'description', content: process.env.npm_package_description || '' }␊
4206
+ ],␊
4207
+ link: [␊
4208
+ { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }␊
4209
+ ]␊
4210
+ },␊
4211
+ /*␊
4212
+ ** Global CSS␊
4213
+ */␊
4214
+ css: [␊
4215
+ ],␊
4216
+ /*␊
4217
+ ** Plugins to load before mounting the App␊
4218
+ ** https://nuxtjs.org/guide/plugins␊
4219
+ */␊
4220
+ plugins: [␊
4221
+ ],␊
4222
+ /*␊
4223
+ ** Auto import components␊
4224
+ ** See https://nuxtjs.org/api/configuration-components␊
4225
+ */␊
4226
+ components: true,␊
4227
+ /*␊
4228
+ ** Nuxt.js dev-modules␊
4229
+ */␊
4230
+ buildModules: [␊
4231
+ ],␊
4232
+ /*␊
4233
+ ** Nuxt.js modules␊
4234
+ */␊
4235
+ modules: [␊
4236
+ ],␊
4237
+ /*␊
4238
+ ** Build configuration␊
4239
+ ** See https://nuxtjs.org/api/configuration-build/␊
4240
+ */␊
4241
+ build: {␊
4242
+ }␊
4243
+ }␊
4244
+ `
0 commit comments