Ensure autoOrient removes metadata after shrink-on-load #4431

This commit is contained in:
Lovell Fuller
2025-07-19 14:00:42 +01:00
parent ecfc77c185
commit 628454559e
4 changed files with 23 additions and 3 deletions

View File

@@ -322,8 +322,6 @@ describe('Raw pixel data', function () {
.gif({ keepDuplicateFrames: true })
.toBuffer();
console.log(await sharp(gif).metadata());
const { width, height, pages, delay } = await sharp(gif).metadata();
assert.strictEqual(width, 1);
assert.strictEqual(height, 1);