Ignore sequentialRead option for stats #3462

This commit is contained in:
Lovell Fuller
2022-11-20 21:30:45 +00:00
parent 01ffa80338
commit a472aea025
3 changed files with 9 additions and 0 deletions

View File

@@ -730,4 +730,9 @@ describe('Image Stats', function () {
done();
});
});
it('Sequential read option is ignored', async () => {
const { isOpaque } = await sharp(fixtures.inputJpg, { sequentialRead: true }).stats();
assert.strictEqual(isOpaque, true);
});
});