Skip to content

Commit 0f8dbb0

Browse files
test(e2e.spec.js): fix integration tests
1 parent 120d494 commit 0f8dbb0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

packages/@vue/cli-plugin-e2e-webdriverio/__tests__/wdioPlugin.spec.js

-12
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ jest.setTimeout(process.env.APPVEYOR ? 120000 : 60000)
22

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

5-
const CONFIG_FILES = ['wdio.shared.conf.json', 'wdio.local.conf.json']
6-
75
test('should work', async () => {
86
const project = await create('e2e-webdriverio', {
97
plugins: {
@@ -16,11 +14,6 @@ test('should work', async () => {
1614
}
1715
})
1816

19-
await Promise.all(CONFIG_FILES.map(async (configFile) => {
20-
const config = JSON.parse(await project.read(configFile))
21-
await project.write(configFile, JSON.stringify(config))
22-
}))
23-
2417
if (!process.env.CI) {
2518
await project.run(`vue-cli-service test:e2e`)
2619
} else if (!process.env.APPVEYOR) {
@@ -40,11 +33,6 @@ test('should work with TS', async () => {
4033
}
4134
})
4235

43-
await Promise.all(CONFIG_FILES.map(async (configFile) => {
44-
const config = JSON.parse(await project.read(configFile))
45-
await project.write(configFile, JSON.stringify(config))
46-
}))
47-
4836
if (!process.env.CI) {
4937
await project.run(`vue-cli-service test:e2e`)
5038
} else if (!process.env.APPVEYOR) {

0 commit comments

Comments
 (0)