Skip to content

Commit

Permalink
consistent test wording
Browse files Browse the repository at this point in the history
  • Loading branch information
mertalev committed Mar 20, 2024
1 parent 62a4a80 commit 3c731c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/heif.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ describe('HEIF', () => {
sharp().heif({ bitdepth: 12 });
});
});
it('invalid bitdepth value throws error', () => {
it('invalid bitdepth value should throw an error', () => {
assert.throws(() => {
sharp().heif({ bitdepth: 11 });
}, /Error: Expected 8, 10 or 12 for bitdepth but received 11 of type number/);
Expand Down

0 comments on commit 3c731c3

Please sign in to comment.