diff --git a/packages/@vue/cli-plugin-e2e-webdriverio/__tests__/wdioPlugin.spec.js b/packages/@vue/cli-plugin-e2e-webdriverio/__tests__/wdioPlugin.spec.js index 47ea26e73a..6e5678adea 100644 --- a/packages/@vue/cli-plugin-e2e-webdriverio/__tests__/wdioPlugin.spec.js +++ b/packages/@vue/cli-plugin-e2e-webdriverio/__tests__/wdioPlugin.spec.js @@ -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: { @@ -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) { @@ -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) {