Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove redundant test
  • Loading branch information
SRHerzog committed Feb 17, 2023
commit 2327a582384d94e2dd3edbb3e87e8be3af1b30b8
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());
}));
}