Skip to content

Commit bbe4bb5

Browse files
committed
test: fix test errors
1 parent ebee882 commit bbe4bb5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ test('should work', async () => {
66
const project = await create('e2e-webdriverio', {
77
plugins: {
88
'@vue/cli-plugin-babel': {},
9-
'@vue/cli-plugin-e2e-webdriverio': {},
9+
'@vue/cli-plugin-e2e-webdriverio': {
10+
webdrivers: ['chrome']
11+
},
1012
'@vue/cli-plugin-eslint': {
1113
config: 'airbnb',
1214
lintOn: 'save'
@@ -29,7 +31,9 @@ test('should work with TS', async () => {
2931
'tsLint': true,
3032
'lintOn': ['save']
3133
},
32-
'@vue/cli-plugin-e2e-webdriverio': {}
34+
'@vue/cli-plugin-e2e-webdriverio': {
35+
webdrivers: ['chrome']
36+
}
3337
}
3438
})
3539

packages/@vue/cli-plugin-unit-mocha/__tests__/mochaPlugin.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ test('should work with Vue 3', async () => {
2727
})
2828

2929
test('should work with Vue 3 + TS', async () => {
30-
const project = await createOutside('unit-mocha-vue-3', {
30+
const project = await createOutside('unit-mocha-vue-3-ts', {
3131
vueVersion: '3',
3232
plugins: {
3333
'@vue/cli-plugin-babel': {},

0 commit comments

Comments
 (0)