mirror of
https://github.com/lovell/sharp.git
synced 2025-07-13 12:20:13 +02:00
Tests: remove no-longer-used conditional assertions
This commit is contained in:
parent
b1227f526d
commit
a5f4f53b56
@ -161,9 +161,7 @@ describe('TIFF', function () {
|
|||||||
.then(() => sharp(fixtures.outputTiff)
|
.then(() => sharp(fixtures.outputTiff)
|
||||||
.metadata()
|
.metadata()
|
||||||
.then(({ density }) => {
|
.then(({ density }) => {
|
||||||
assert.strictEqual(true,
|
assert.strictEqual(25400, density);
|
||||||
density === 2540 || // libvips <= 8.8.2
|
|
||||||
density === 25400); // libvips >= 8.8.3
|
|
||||||
return promisify(rimraf)(fixtures.outputTiff);
|
return promisify(rimraf)(fixtures.outputTiff);
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
@ -179,9 +177,7 @@ describe('TIFF', function () {
|
|||||||
.then(data => sharp(data)
|
.then(data => sharp(data)
|
||||||
.metadata()
|
.metadata()
|
||||||
.then(({ density }) => {
|
.then(({ density }) => {
|
||||||
assert.strictEqual(true,
|
assert.strictEqual(25400, density);
|
||||||
density === 2540 || // libvips <= 8.8.2
|
|
||||||
density === 25400); // libvips >= 8.8.3
|
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user