File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- sudo : false
2-
31language : node_js
42
53node_js :
@@ -8,8 +6,13 @@ node_js:
86 - " 10"
97 - " 12"
108
9+ os :
10+ - linux
11+ - osx
12+ - windows
13+
1114install :
12- - PATH="`npm bin`:`npm bin -g`:$PATH"
15+ # - PATH="`npm bin`:`npm bin -g`:$PATH"
1316 # Install dependencies and build
1417 - npm install
1518
Original file line number Diff line number Diff line change @@ -71,23 +71,23 @@ describe('HttpsProxyAgent', function () {
7171
7272 // shut down test HTTP server
7373 after ( function ( done ) {
74+ server . once ( 'close' , function ( ) { done ( ) ; } ) ;
7475 server . close ( ) ;
75- done ( ) ;
7676 } ) ;
7777
7878 after ( function ( done ) {
79+ proxy . once ( 'close' , function ( ) { done ( ) ; } ) ;
7980 proxy . close ( ) ;
80- done ( ) ;
8181 } ) ;
8282
8383 after ( function ( done ) {
84+ sslServer . once ( 'close' , function ( ) { done ( ) ; } ) ;
8485 sslServer . close ( ) ;
85- done ( ) ;
8686 } ) ;
8787
8888 after ( function ( done ) {
89+ sslProxy . once ( 'close' , function ( ) { done ( ) ; } ) ;
8990 sslProxy . close ( ) ;
90- done ( ) ;
9191 } ) ;
9292
9393 describe ( 'constructor' , function ( ) {
You can’t perform that action at this time.
0 commit comments