Skip to content

Commit

Permalink
fix(gaussian-noise): add missing unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
alza54 committed Jan 14, 2021
1 parent 5e80931 commit 0f03310
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/unit/noise.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,10 @@ describe('Gaussian noise', function () {
});
});

it('no noise object specified', function () {
it('no create object properties specified', function () {
assert.throws(function () {
sharp({
create: {
width: 100,
height: 100,
channels: 3
}
create: {}
});
});
});
Expand Down

0 comments on commit 0f03310

Please sign in to comment.