mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Ignore sequentialRead option for stats #3462
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user