Skip to content

Commit

Permalink
Tests: ensure combination of flip and flop is covered (#4123)
Browse files Browse the repository at this point in the history
  • Loading branch information
happycollision authored Jun 4, 2024
1 parent 56fae3e commit 472aaf3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
"Mart Jansink <[email protected]>",
"Lachlan Newman <[email protected]>",
"Dennis Beatty <[email protected]>",
"Ingvar Stepanyan <[email protected]>"
"Ingvar Stepanyan <[email protected]>",
"Don Denton <[email protected]>"
],
"scripts": {
"install": "node install/check",
Expand Down
Binary file modified test/fixtures/expected/flip-and-flop.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions test/unit/rotate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 472aaf3

Please sign in to comment.