Browse Source

Remove now moot workaround for flaky tests

Was only relevant for Node.js 0.10/0.12
extract-response
Sindre Sorhus 8 years ago
parent
commit
62225224b8
  1. 6
      test/http.js

6
test/http.js

@ -16,10 +16,8 @@ test.before('setup', async () => {
});
s.on('/404', (req, res) => {
setTimeout(() => {
res.statusCode = 404;
res.end('not');
}, 10);
res.statusCode = 404;
res.end('not');
});
s.on('/?recent=true', (req, res) => {

Loading…
Cancel
Save