Skip to content

Commit a4ef6bc

Browse files
committed
ci: fix router prompt spec
1 parent 6392a60 commit a4ef6bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/@vue/cli/lib/promptModules/__tests__/router.spec.js

+5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,16 @@ test('router', async () => {
1111
message: 'features',
1212
choices: ['Router'],
1313
check: [0]
14+
},
15+
{
16+
message: 'history mode',
17+
confirm: true
1418
}
1519
]
1620

1721
const expectedOptions = {
1822
router: true,
23+
routerHistoryMode: true,
1924
plugins: {}
2025
}
2126

0 commit comments

Comments
 (0)