Skip to content

Commit 3493e8c

Browse files
test(compression): avoid arrow fn
1 parent 2b3369c commit 3493e8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/compression.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe('compression()', function () {
116116
res.setHeader('Content-Type', 'text/plain')
117117
res.end('hello world')
118118

119-
server.on('close', () => {
119+
server.on('close', function () {
120120
res.write('hello world', function (err) {
121121
assert.ok(err.code === 'ERR_STREAM_DESTROYED')
122122
})

0 commit comments

Comments
 (0)