Tests: avoid shrink-on-load for (non-turbo) libjpeg compat

This commit is contained in:
Lovell Fuller
2018-09-21 19:34:52 +01:00
parent 0ce8ad7130
commit 93aac660a3
8 changed files with 8 additions and 8 deletions

View File

@@ -59,7 +59,7 @@ describe('Image channel extraction', function () {
sharp(fixtures.inputJpg)
.toColourspace('lch')
.extractChannel(1)
.resize(320, 240)
.resize(320, 240, { fastShrinkOnLoad: false })
.toFile(output, function (err, info) {
if (err) throw err;
assert.strictEqual(320, info.width);