mirror of
https://github.com/lovell/sharp.git
synced 2025-07-11 11:30:15 +02:00
Update test expectations/thresholds previously failing on OS X.
Remove Node v5 from CI builds.
This commit is contained in:
parent
d486eaad03
commit
f1ead06645
@ -3,7 +3,6 @@ node_js:
|
||||
- "0.10"
|
||||
- "0.12"
|
||||
- "4"
|
||||
- "5"
|
||||
- "6"
|
||||
os:
|
||||
- linux
|
||||
|
@ -7,7 +7,6 @@ environment:
|
||||
matrix:
|
||||
- nodejs_version: "0.12"
|
||||
- nodejs_version: "4"
|
||||
- nodejs_version: "5"
|
||||
- nodejs_version: "6"
|
||||
install:
|
||||
- ps: Install-Product node $env:nodejs_version x64
|
||||
|
BIN
test/fixtures/expected/extract.jpg
vendored
BIN
test/fixtures/expected/extract.jpg
vendored
Binary file not shown.
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 329 B |
BIN
test/fixtures/expected/gamma-0.0.jpg
vendored
BIN
test/fixtures/expected/gamma-0.0.jpg
vendored
Binary file not shown.
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 1.2 KiB |
@ -14,7 +14,7 @@ describe('Partial image extraction', function() {
|
||||
if (err) throw err;
|
||||
assert.strictEqual(20, info.width);
|
||||
assert.strictEqual(20, info.height);
|
||||
fixtures.assertSimilar(fixtures.expected('extract.jpg'), data, done);
|
||||
fixtures.assertSimilar(fixtures.expected('extract.jpg'), data, { threshold: 8 }, done);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user