Skip to content

Commit 7dcbd50

Browse files
backing out bad test
1 parent 1d50450 commit 7dcbd50

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

test/toolTests.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -81,26 +81,6 @@ describe('Tool Tests', function () {
8181
});
8282
});
8383

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-
10484
it('downloads to an aboslute path', function () {
10585
this.timeout(5000);
10686

0 commit comments

Comments
 (0)