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 7eeabef commit 61e4fbeCopy full SHA for 61e4fbe
test/compression.js
@@ -140,7 +140,7 @@ describe('compression()', function(){
140
// UGH
141
var server = createServer({ threshold: 0 }, function (req, res) {
142
res.setHeader('Content-Type', 'text/plain')
143
- res.on('close', function () {
+ res.once('close', function () {
144
res.write('hello, ')
145
res.end('world')
146
done()
0 commit comments