Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(unit-jest, unit-mocha): generate passing tests when bare option is used with router enabled (#3544) #5591

Merged
merged 2 commits into from
Sep 7, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'dev' into dev
  • Loading branch information
IwalkAlone authored Sep 6, 2020
commit 5088a722e3671bfb2ce7616729c81068477c3039
1 change: 1 addition & 0 deletions packages/@vue/cli-plugin-unit-jest/generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = (api, options, rootOptions, invoking) => {
const isVue3 = rootOptions && rootOptions.vueVersion === '3'

api.render('./template', {
isVue3,
hasTS: api.hasPlugin('typescript'),
hasRouter: api.hasPlugin('router')
})
Expand Down
1 change: 1 addition & 0 deletions packages/@vue/cli-plugin-unit-mocha/generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = (api, options, rootOptions, invoking) => {
const isVue3 = rootOptions && rootOptions.vueVersion === '3'

api.render('./template', {
isVue3,
hasTS: api.hasPlugin('typescript'),
hasRouter: api.hasPlugin('router')
})
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.