Skip to content

Commit

Permalink
test: getCompressionPlugin.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Jan 3, 2024
1 parent 8a19fb3 commit bb5e077
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jest.mock("./compressionMiddleware");
describe(getCompressionPlugin.name, () => {
const config = {
bodyLengthChecker: jest.fn(),
disableRequestCompression: false,
requestMinCompressionSizeBytes: 0,
disableRequestCompression: () => Promise.resolve(false),
requestMinCompressionSizeBytes: () => Promise.resolve(0),
};
const middlewareConfig = { encodings: [] };

Expand Down

0 comments on commit bb5e077

Please sign in to comment.