Skip to content

Commit

Permalink
fix: fixed test usage to use constants
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylettuce committed Jul 6, 2020
1 parent 22c434c commit 7b14215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ describe('Compress', () => {
const app = new Koa()

app.use(compress({
flush: zlib.Z_SYNC_FLUSH
flush: zlib.constants.Z_SYNC_FLUSH
}))
app.use(sendString)
server = app.listen()
Expand Down

0 comments on commit 7b14215

Please sign in to comment.