Skip to content

Commit

Permalink
Update packages/core/src/transforms/__tests__/resize.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Nov 26, 2024
1 parent 96b35c0 commit 862cb14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/transforms/__tests__/resize.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ describe('aspect', () => {
})

test('w/ crop horizontally', async () => {
//@ts-expect-error we know this is safe
// @ts-expect-error we know this is safe
const { image } = await applyTransforms([resize({ aspect: '1:2' }, dirCtx)], img)

const { width = 0, height = 0 } = await sharp(await image.toBuffer()).metadata()
Expand Down

0 comments on commit 862cb14

Please sign in to comment.