mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add Alpine Linux packaging test #354
Requires libvips cache to be disabled for tests Skip tiff/magick tests when format unavailable
This commit is contained in:
@@ -111,7 +111,7 @@ describe('Rotation', function() {
|
||||
});
|
||||
|
||||
it('Attempt to auto-rotate image format without EXIF support', function(done) {
|
||||
sharp(fixtures.inputGif)
|
||||
sharp(fixtures.inputPng)
|
||||
.rotate()
|
||||
.resize(320)
|
||||
.jpeg()
|
||||
@@ -120,7 +120,7 @@ describe('Rotation', function() {
|
||||
assert.strictEqual(true, data.length > 0);
|
||||
assert.strictEqual('jpeg', info.format);
|
||||
assert.strictEqual(320, info.width);
|
||||
assert.strictEqual(213, info.height);
|
||||
assert.strictEqual(236, info.height);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user