Skip to content

Commit

Permalink
test(effort): update snapshot image
Browse files Browse the repository at this point in the history
  • Loading branch information
moorejs committed Nov 1, 2023
1 parent 47b1693 commit 7752c28
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Git LFS file not shown
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

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 @@ -172,7 +172,7 @@ describe('format', () => {
test('webp w/ effort', async () => {
const { image } = await applyTransforms([format({ format: 'webp', effort: 'min' }, dirCtx)!], img)

expect(await image.toBuffer()).toMatchImageSnapshot()
expect(await image.toBuffer()).toMatchFile()
})
})
})

0 comments on commit 7752c28

Please sign in to comment.