mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-02-06 15:08:27 -06:00
19 lines
509 B
JavaScript
19 lines
509 B
JavaScript
jest.setTimeout(process.env.APPVEYOR ? 60000 : 30000)
|
|
|
|
const create = require('@vue/cli-test-utils/createTestProject')
|
|
|
|
test('should work', async () => {
|
|
const project = await create('e2e-cypress', {
|
|
plugins: {
|
|
'@vue/cli-plugin-babel': {},
|
|
'@vue/cli-plugin-e2e-cypress': {}
|
|
}
|
|
})
|
|
|
|
const config = JSON.parse(await project.read('cypress.json'))
|
|
config.videoRecording = false
|
|
await project.write('cypress.json', JSON.stringify(config))
|
|
|
|
await project.run(`vue-cli-service e2e`)
|
|
})
|