Skip to content

Commit

Permalink
test(format): use effort keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
moorejs committed Nov 1, 2023
1 parent 63dd7bb commit 47b1693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/transforms/__tests__/format.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ describe('format', () => {
})

test('webp w/ effort', async () => {
const { image } = await applyTransforms([format({ format: 'webp', effort: '0' }, dirCtx)!], img)
const { image } = await applyTransforms([format({ format: 'webp', effort: 'min' }, dirCtx)!], img)

expect(await image.toBuffer()).toMatchImageSnapshot()
})
Expand Down

0 comments on commit 47b1693

Please sign in to comment.