Allow using speed 9 for AVIF/HEIC encoding (#2879)

This commit is contained in:
Espen Hovlandsdal
2021-09-06 17:23:02 +02:00
committed by GitHub
parent 52307fad5d
commit 916b04dbac
3 changed files with 7 additions and 7 deletions

View File

@@ -57,7 +57,7 @@ describe('HEIF', () => {
});
it('out of range speed should throw an error', () => {
assert.throws(() => {
sharp().heif({ speed: 9 });
sharp().heif({ speed: 10 });
});
});
it('invalid speed should throw an error', () => {