@@ -11,17 +11,17 @@ test("lerna bootstrap --hoist", async () => {
1111 const lerna = cliRunner ( cwd ) ;
1212
1313 /* eslint-disable max-len */
14- const { stderr } = await lerna ( "bootstrap" , "--no-ci" , "--hoist" ) ;
14+ const { stderr } = await lerna ( "bootstrap" , "--concurrency=1" , "-- no-ci", "--hoist" ) ;
1515 expect ( stderr ) . toMatchInlineSnapshot ( `
1616lerna notice cli __TEST_VERSION__
1717lerna info Bootstrapping 4 packages
1818lerna info lifecycle package-4@1.0.0~preinstall: package-4@1.0.0
1919lerna WARN EHOIST_PKG_VERSION "@integration/package-3" package depends on pify@^1.0.0, which differs from the hoisted pify@^2.0.0.
2020lerna info Installing external dependencies
2121lerna info hoist Installing hoisted dependencies into root
22+ lerna info hoist Finished bootstrapping root
2223lerna info hoist Pruning hoisted dependencies
2324lerna info hoist Finished pruning hoisted dependencies
24- lerna info hoist Finished bootstrapping root
2525lerna info Symlinking packages and binaries
2626lerna info lifecycle @integration/package-3@1.0.0~postinstall: @integration/package-3@1.0.0
2727lerna info lifecycle @integration/package-2@1.0.0~prepublish: @integration/package-2@1.0.0
@@ -30,7 +30,7 @@ lerna success Bootstrapped 4 packages
3030` ) ;
3131
3232 // the "--silent" flag is passed to `npm run`
33- const { stdout } = await lerna ( "run" , "test" , "--" , "--silent" ) ;
33+ const { stdout } = await lerna ( "run" , "test" , "--concurrency=1" , "-- ", "--silent" ) ;
3434 expect ( stdout ) . toMatchInlineSnapshot ( `
3535package-1
3636package-2
0 commit comments