Tests: ensure combination of flip and flop is covered (#4123)

This commit is contained in:
Don Denton 2024-06-04 16:34:18 -04:00 committed by GitHub
parent 56fae3eda1
commit 472aaf3311
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View File

@ -88,7 +88,8 @@
"Mart Jansink <m.jansink@gmail.com>",
"Lachlan Newman <lachnewman007@gmail.com>",
"Dennis Beatty <dennis@dcbeatty.com>",
"Ingvar Stepanyan <me@rreverser.com>"
"Ingvar Stepanyan <me@rreverser.com>",
"Don Denton <don@happycollision.com>"
],
"scripts": {
"install": "node install/check",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -417,6 +417,7 @@ describe('Rotation', function () {
it('Flip and flop', function (done) {
sharp(fixtures.inputJpg)
.resize(320)
.flip()
.flop()
.toBuffer(function (err, data, info) {
if (err) throw err;