File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ describe('body encoding', function() {
5050 . post ( '/post' )
5151 . attach ( 'image' , filename )
5252 . end ( function ( err ) {
53- fs . unlink ( filename ) ;
53+ fs . unlinkSync ( filename ) ;
5454 // This test is both broken and I think unnecessary.
5555 // Its broken because http.bin no longer supports /post, but this test assertion is based on the old
5656 // httpbin behavior.
@@ -81,7 +81,7 @@ describe('body encoding', function() {
8181 . post ( '/post' )
8282 . attach ( 'image' , filename )
8383 . end ( function ( err ) {
84- fs . unlink ( filename ) ;
84+ fs . unlinkSync ( filename ) ;
8585 // This test is both broken and I think unnecessary.
8686 // Its broken because http.bin no longer supports /post, but this test assertion is based on the old
8787 // httpbin behavior.
@@ -105,7 +105,7 @@ describe('body encoding', function() {
105105 . post ( '/post' )
106106 . attach ( 'image' , filename )
107107 . end ( function ( err ) {
108- fs . unlink ( filename ) ;
108+ fs . unlinkSync ( filename ) ;
109109 assert ( err === null ) ;
110110 // This test is both broken and I think unnecessary.
111111 // Its broken because http.bin no longer supports /post, but this test assertion is based on the old
You can’t perform that action at this time.
0 commit comments