Skip to content

Commit 7b14215

Browse files
committed
fix: fixed test usage to use constants
1 parent 22c434c commit 7b14215

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

__tests__/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ describe('Compress', () => {
333333
const app = new Koa()
334334

335335
app.use(compress({
336-
flush: zlib.Z_SYNC_FLUSH
336+
flush: zlib.constants.Z_SYNC_FLUSH
337337
}))
338338
app.use(sendString)
339339
server = app.listen()

0 commit comments

Comments
 (0)