Skip to content

Commit

Permalink
ci: also skip ts + nightwatch test in circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Dec 27, 2018
1 parent 340808b commit 056ba07
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
steps:
- attach_workspace:
at: ~/
# e2e-nightwatch was left out due to some unknown issues with selenium and the CI image
- run: yarn test -p unit-mocha,unit-jest,e2e-cypress
# e2e-nightwatch was left out due to some unknown issues with selenium and the CI image
- run: yarn test tsPluginE2e

cli-ui:
Expand Down
18 changes: 10 additions & 8 deletions packages/@vue/cli-plugin-typescript/__tests__/tsPluginE2e.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ if (!process.env.APPVEYOR) {
})
}

test('nightwatch', async () => {
const project = await create('ts-e2e-nightwatch', {
plugins: {
'@vue/cli-plugin-typescript': {},
'@vue/cli-plugin-e2e-nightwatch': {}
}
if (!process.env.CIRCLECI) {
test('nightwatch', async () => {
const project = await create('ts-e2e-nightwatch', {
plugins: {
'@vue/cli-plugin-typescript': {},
'@vue/cli-plugin-e2e-nightwatch': {}
}
})
await project.run(`vue-cli-service test:e2e`)
})
await project.run(`vue-cli-service test:e2e`)
})
}

0 comments on commit 056ba07

Please sign in to comment.