@@ -25,7 +25,7 @@ describe('packagesToInstall', () => {
2525 coreData . wizard . chosenBundler = findBundler ( 'webpack' )
2626 } )
2727
28- const actual = ctx . wizard . installDependenciesCommand ( )
28+ const actual = await ctx . wizard . installDependenciesCommand ( )
2929
3030 expect ( actual ) . to . eq ( `npm install -D react-scripts webpack react-dom react` )
3131 } )
@@ -41,7 +41,7 @@ describe('packagesToInstall', () => {
4141 coreData . wizard . chosenBundler = findBundler ( 'webpack' )
4242 } )
4343
44- const actual = ctx . wizard . installDependenciesCommand ( )
44+ const actual = await ctx . wizard . installDependenciesCommand ( )
4545
4646 expect ( actual ) . to . eq ( `npm install -D @vue/cli-service webpack vue@2` )
4747 } )
@@ -57,7 +57,7 @@ describe('packagesToInstall', () => {
5757 coreData . wizard . chosenBundler = findBundler ( 'webpack' )
5858 } )
5959
60- const actual = ctx . wizard . installDependenciesCommand ( )
60+ const actual = await ctx . wizard . installDependenciesCommand ( )
6161
6262 expect ( actual ) . to . eq ( `npm install -D @vue/cli-service webpack vue` )
6363 } )
@@ -73,7 +73,7 @@ describe('packagesToInstall', () => {
7373 coreData . wizard . chosenBundler = findBundler ( 'webpack' )
7474 } )
7575
76- const actual = ctx . wizard . installDependenciesCommand ( )
76+ const actual = await ctx . wizard . installDependenciesCommand ( )
7777
7878 expect ( actual ) . to . eq ( `npm install -D @vue/cli-service webpack vue` )
7979 } )
@@ -89,7 +89,7 @@ describe('packagesToInstall', () => {
8989 coreData . wizard . chosenBundler = findBundler ( 'vite' )
9090 } )
9191
92- const actual = ctx . wizard . installDependenciesCommand ( )
92+ const actual = await ctx . wizard . installDependenciesCommand ( )
9393
9494 expect ( actual ) . to . eq ( `npm install -D vite react react-dom` )
9595 } )
@@ -105,7 +105,7 @@ describe('packagesToInstall', () => {
105105 coreData . wizard . chosenBundler = findBundler ( 'vite' )
106106 } )
107107
108- const actual = ctx . wizard . installDependenciesCommand ( )
108+ const actual = await ctx . wizard . installDependenciesCommand ( )
109109
110110 expect ( actual ) . to . eq ( `npm install -D vite vue` )
111111 } )
@@ -121,7 +121,7 @@ describe('packagesToInstall', () => {
121121 coreData . wizard . chosenBundler = findBundler ( 'webpack' )
122122 } )
123123
124- const actual = ctx . wizard . installDependenciesCommand ( )
124+ const actual = await ctx . wizard . installDependenciesCommand ( )
125125
126126 expect ( actual ) . to . eq ( `npm install -D next react react-dom` )
127127 } )
@@ -137,7 +137,7 @@ describe('packagesToInstall', () => {
137137 coreData . wizard . chosenBundler = findBundler ( 'webpack' )
138138 } )
139139
140- const actual = ctx . wizard . installDependenciesCommand ( )
140+ const actual = await ctx . wizard . installDependenciesCommand ( )
141141
142142 expect ( actual ) . to . eq ( 'npm install -D nuxt@2 vue@2' )
143143 } )
@@ -153,7 +153,7 @@ describe('packagesToInstall', () => {
153153 coreData . wizard . chosenBundler = null
154154 } )
155155
156- const actual = ctx . wizard . installDependenciesCommand ( )
156+ const actual = await ctx . wizard . installDependenciesCommand ( )
157157
158158 expect ( actual ) . to . eq ( '' )
159159 } )
0 commit comments