mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Upgrade semistandard, appease new linter rules
This commit is contained in:
@@ -646,7 +646,7 @@ describe('Resize dimensions', function () {
|
||||
].forEach(function (kernel) {
|
||||
it(`kernel ${kernel}`, function (done) {
|
||||
sharp(fixtures.inputJpg)
|
||||
.resize(320, null, { kernel: kernel })
|
||||
.resize(320, null, { kernel })
|
||||
.toBuffer(function (err, data, info) {
|
||||
if (err) throw err;
|
||||
assert.strictEqual('jpeg', info.format);
|
||||
|
||||
Reference in New Issue
Block a user