mirror of
https://github.com/lovell/sharp.git
synced 2025-07-12 03:50:13 +02:00
Update expected test fixtures for libvips 8.3
This commit is contained in:
parent
c920180cb3
commit
b6030c161b
BIN
test/fixtures/expected/embed-16bit.png
vendored
BIN
test/fixtures/expected/embed-16bit.png
vendored
Binary file not shown.
Before Width: | Height: | Size: 827 B After Width: | Height: | Size: 789 B |
@ -96,7 +96,7 @@ describe('Threshold', function() {
|
|||||||
.threshold()
|
.threshold()
|
||||||
.toBuffer(function(err, data, info) {
|
.toBuffer(function(err, data, info) {
|
||||||
assert.strictEqual('webp', info.format);
|
assert.strictEqual('webp', info.format);
|
||||||
fixtures.assertSimilar(fixtures.expected('threshold-128-transparency.webp'), data, done);
|
fixtures.assertSimilar(fixtures.expected('threshold-128-transparency.webp'), data, { threshold: 14 }, done);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user