File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ export async function command(
9494
9595 await pool . completed ( true )
9696 } finally {
97- await pool . terminate ( )
97+ await pool . terminate ( true )
9898 }
9999 }
100100
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ export default async function command(
120120
121121 await pool . completed ( )
122122 } finally {
123- await pool . terminate ( )
123+ await pool . terminate ( true )
124124 }
125125 } else {
126126 const format = await getFormat (
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export default async function command(
6161 )
6262 } finally {
6363 if ( workerPool ) {
64- await workerPool . terminate ( )
64+ await workerPool . terminate ( true )
6565 }
6666 }
6767 Object . entries ( catalogStats ) . forEach ( ( [ key , value ] ) => {
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export default async function command(
7676 )
7777 } finally {
7878 if ( workerPool ) {
79- await workerPool . terminate ( )
79+ await workerPool . terminate ( true )
8080 }
8181 }
8282
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ jest.mock("ora", () => {
2626 }
2727} )
2828
29- function replaceDuration ( snaphot : string ) {
30- return snaphot . replace ( / D o n e i n .+ m s / g, "Done in <n>ms" )
29+ function replaceDuration ( snapshot : string ) {
30+ return snapshot . replace ( / D o n e i n .+ m s / g, "Done in <n>ms" )
3131}
3232async function prepare ( caseFolderName : string ) {
3333 const rootDir = nodepath . join ( __dirname , caseFolderName )
You can’t perform that action at this time.
0 commit comments