Remove previously-deprecated reductionEffort and speed options

This commit is contained in:
Lovell Fuller
2022-07-24 11:18:16 +01:00
parent b46ab510da
commit 76c4c51e2a
4 changed files with 7 additions and 33 deletions

View File

@@ -121,12 +121,6 @@ describe('WebP', function () {
});
});
it('invalid reductionEffort (deprecated) throws', () => {
assert.throws(() => {
sharp().webp({ reductionEffort: true });
});
});
it('out of range effort throws', () => {
assert.throws(() => {
sharp().webp({ effort: -1 });