Skip to content

Commit

Permalink
remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
SRHerzog committed Feb 17, 2023
1 parent e24f2fd commit 2327a58
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions test/parallel/test-http-early-hints-invalid-argument.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,3 @@ const testResBody = 'response content\n';
req.on('information', common.mustNotCall());
}));
}

{
const server = http.createServer(common.mustCall((req, res) => {
debug('Server sending early hints...');

debug('Server sending full response...');
res.end(testResBody);
server.close();
}));

server.listen(0, common.mustCall(() => {
const req = http.request({
port: server.address().port, path: '/'
});

req.end();
debug('Client sending request...');

req.on('information', common.mustNotCall());
}));
}

0 comments on commit 2327a58

Please sign in to comment.