diff --git a/test/unit/blur.js b/test/unit/blur.js index de2433696..e8e7e9d95 100644 --- a/test/unit/blur.js +++ b/test/unit/blur.js @@ -35,6 +35,19 @@ describe('Blur', function () { }); }); + it('specific options.sigma 10', function (done) { + sharp(fixtures.inputJpg) + .resize(320, 240) + .blur({ sigma: 10 }) + .toBuffer(function (err, data, info) { + if (err) throw err; + assert.strictEqual('jpeg', info.format); + assert.strictEqual(320, info.width); + assert.strictEqual(240, info.height); + fixtures.assertSimilar(fixtures.expected('blur-10.jpg'), data, done); + }); + }); + it('specific radius 0.3', function (done) { sharp(fixtures.inputJpg) .resize(320, 240)