Skip to content

Commit

Permalink
test(e2e.spec.js): fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed May 15, 2020
1 parent 120d494 commit 0f8dbb0
Showing 1 changed file with 0 additions and 12 deletions.
Expand Up @@ -2,8 +2,6 @@ jest.setTimeout(process.env.APPVEYOR ? 120000 : 60000)

const create = require('@vue/cli-test-utils/createTestProject')

const CONFIG_FILES = ['wdio.shared.conf.json', 'wdio.local.conf.json']

test('should work', async () => {
const project = await create('e2e-webdriverio', {
plugins: {
Expand All @@ -16,11 +14,6 @@ test('should work', async () => {
}
})

await Promise.all(CONFIG_FILES.map(async (configFile) => {
const config = JSON.parse(await project.read(configFile))
await project.write(configFile, JSON.stringify(config))
}))

if (!process.env.CI) {
await project.run(`vue-cli-service test:e2e`)
} else if (!process.env.APPVEYOR) {
Expand All @@ -40,11 +33,6 @@ test('should work with TS', async () => {
}
})

await Promise.all(CONFIG_FILES.map(async (configFile) => {
const config = JSON.parse(await project.read(configFile))
await project.write(configFile, JSON.stringify(config))
}))

if (!process.env.CI) {
await project.run(`vue-cli-service test:e2e`)
} else if (!process.env.APPVEYOR) {
Expand Down

0 comments on commit 0f8dbb0

Please sign in to comment.