File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import * as childProcess from "child_process";
55import * as uuid from "uuid" ;
66import * as fsExtra from "fs-extra" ;
77
8+ const timeout = 30000 ;
9+
810describe ( `shanzhai-production-cli` , ( ) => {
911 describe ( `when there are no steps to execute` , ( ) => {
1012 let root : string ;
@@ -41,7 +43,7 @@ describe(`shanzhai-production-cli`, () => {
4143 }
4244 ) ;
4345 } ) ;
44- } ) ;
46+ } , timeout ) ;
4547
4648 afterAll ( async ( ) => {
4749 await fs . promises . rm ( root , { recursive : true } ) ;
@@ -98,7 +100,7 @@ No steps to execute.
98100 }
99101 ) ;
100102 } ) ;
101- } ) ;
103+ } , timeout ) ;
102104
103105 afterAll ( async ( ) => {
104106 await fs . promises . rm ( root , { recursive : true } ) ;
@@ -159,7 +161,7 @@ No steps to execute.
159161 }
160162 ) ;
161163 } ) ;
162- } ) ;
164+ } , timeout ) ;
163165
164166 afterAll ( async ( ) => {
165167 await fs . promises . rm ( root , { recursive : true } ) ;
@@ -211,7 +213,7 @@ No steps to execute.
211213 }
212214 ) ;
213215 } ) ;
214- } ) ;
216+ } , timeout ) ;
215217
216218 afterAll ( async ( ) => {
217219 await fs . promises . rm ( root , { recursive : true } ) ;
You can’t perform that action at this time.
0 commit comments