File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,10 @@ function unix() {
1818 return process . platform !== 'win32' ;
1919}
2020
21- describe ( 'proxy' , ( ) => {
21+ describe ( 'proxy' , function describeproxy ( ) {
22+ this . timeout ( 5000 ) ; // shell.exec() is slow
2223 let delVarName ;
24+
2325 before ( ( ) => {
2426 // Configure shell variables so that we can use basic commands for testing
2527 // without using the ShellJS builtin
@@ -265,7 +267,7 @@ describe('proxy', () => {
265267 fs . existsSync ( fa ) . should . equal ( true ) ;
266268 fs . existsSync ( fb ) . should . equal ( true ) ;
267269 done ( ) ;
268- } ) . timeout ( 5000 ) ;
270+ } ) ;
269271
270272 it ( 'avoids globs' , ( done ) => {
271273 if ( ! unix ( ) ) {
@@ -287,7 +289,7 @@ describe('proxy', () => {
287289 // These files are still ok
288290 fs . existsSync ( fa ) . should . equal ( true ) ;
289291 done ( ) ;
290- } ) . timeout ( 5000 ) ;
292+ } ) ;
291293
292294 it ( 'escapes quotes' , ( done ) => {
293295 if ( ! unix ( ) ) {
You can’t perform that action at this time.
0 commit comments