diff --git a/test/unit/io.js b/test/unit/io.js index cb186d59..305f11c3 100644 --- a/test/unit/io.js +++ b/test/unit/io.js @@ -302,7 +302,7 @@ describe('Input/output', function () { }); it('Fail when input is empty Buffer', function (done) { - if (process.platform === 'freebsd') return this.skip(); // can be removed with libvips 8.10.0+ + if (sharp.format.magick.input.buffer) return this.skip(); // can be removed with libvips 8.10.0+ sharp(Buffer.alloc(0)).toBuffer().then(function () { assert(false); done();