File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -81,26 +81,6 @@ describe('Tool Tests', function () {
81
81
} ) ;
82
82
} ) ;
83
83
84
- it ( 'downloads a 100 byte file after a redirect 303 (See Other)' , function ( ) {
85
- this . timeout ( 5000 ) ;
86
-
87
- return new Promise < void > ( async ( resolve , reject ) => {
88
- try {
89
-
90
- let downPath : string = await toolLib . downloadTool ( "https://httpbin.org/redirect-to?url=" + encodeURI ( 'http://httpbin.org/bytes/100' ) + "&status_code=303" ) ;
91
- toolLib . debug ( 'downloaded path: ' + downPath ) ;
92
-
93
- assert ( tl . exist ( downPath ) , 'downloaded file exists' ) ;
94
- assert . equal ( fs . statSync ( downPath ) . size , 100 , 'downloaded file is the correct size' ) ;
95
-
96
- resolve ( ) ;
97
- }
98
- catch ( err ) {
99
- reject ( err ) ;
100
- }
101
- } ) ;
102
- } ) ;
103
-
104
84
it ( 'downloads to an aboslute path' , function ( ) {
105
85
this . timeout ( 5000 ) ;
106
86
You can’t perform that action at this time.
0 commit comments