Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
climba03003 committed Mar 29, 2024
1 parent fbacb29 commit 9d2685b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/issue-288.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
const { test } = require('tap')
const Fastify = require('fastify')
const fastifyCompress = require('..')
const { fetch } = require('undici')
const { fetch, setGlobalDispatcher, Agent } = require('undici')

setGlobalDispatcher(new Agent({
keepAliveTimeout: 10,
keepAliveMaxTimeout: 10
}))

test('should not corrupt the file content', async (t) => {
// provide 2 byte unicode content
Expand Down

0 comments on commit 9d2685b

Please sign in to comment.