Skip to content

Commit

Permalink
feat: Remove console.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchaofan committed Apr 24, 2024
1 parent f0c79f1 commit d67bd9a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/api-protocol-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,6 @@ describe('protocol module', () => {
it('callback with null can behave like no intercept - redirect case', async () => {
const server = http.createServer((req, res) => {
if (req.url === '/serverRedirect') {
console.log(req.rawHeaders);
res.statusCode = 301;
res.setHeader('Location', `${url}/foo`);
res.end();
Expand All @@ -805,7 +804,6 @@ describe('protocol module', () => {
body += chunk;
});
req.on('end', () => {
console.log(body);
res.end(body);
});
});
Expand Down

0 comments on commit d67bd9a

Please sign in to comment.