We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f588626 commit a17c053Copy full SHA for a17c053
test/send.js
@@ -178,7 +178,7 @@ describe('send(file).pipe(res)', function () {
178
send(req, req.url, {root: 'test/fixtures'})
179
.on('stream', function (stream) {
180
// simulate file error
181
- process.nextTick(function () {
+ stream.on('open', function () {
182
stream.emit('error', new Error('boom!'))
183
})
184
0 commit comments