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 committed 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 <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",
Expand Down
Binary file modified test/fixtures/expected/flip-and-flop.jpg
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.