mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Reduce sharpen op max sigma from 10000 to 10 #3521
This commit is contained in:
@@ -110,7 +110,7 @@ describe('Sharpen', function () {
|
||||
|
||||
it('invalid options.sigma', () => assert.throws(
|
||||
() => sharp().sharpen({ sigma: -1 }),
|
||||
/Expected number between 0\.000001 and 10000 for options\.sigma but received -1 of type number/
|
||||
/Expected number between 0\.000001 and 10 for options\.sigma but received -1 of type number/
|
||||
));
|
||||
|
||||
it('invalid options.m1', () => assert.throws(
|
||||
|
||||
Reference in New Issue
Block a user