mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Ensure sharp.format.vips is present and correct #1813
This commit is contained in:
@@ -118,6 +118,13 @@ describe('Utilities', function () {
|
||||
assert.strictEqual(true, sharp.format.raw[direction].stream);
|
||||
});
|
||||
});
|
||||
it('vips format supports filesystem only', function () {
|
||||
['input', 'output'].forEach(function (direction) {
|
||||
assert.strictEqual(true, sharp.format.vips[direction].file);
|
||||
assert.strictEqual(false, sharp.format.vips[direction].buffer);
|
||||
assert.strictEqual(false, sharp.format.vips[direction].stream);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('Versions', function () {
|
||||
|
||||
Reference in New Issue
Block a user