Increase unit test coverage for recently added operations

Switch param validation to use internal functions
This commit is contained in:
Lovell Fuller
2016-07-11 22:23:10 +01:00
parent ff8c42e894
commit d1d6155fd1
6 changed files with 111 additions and 122 deletions

View File

@@ -54,9 +54,9 @@ describe('Boolean operation between two images', function() {
});
});
if('Invalid input', function() {
it('Missing input', function() {
assert.throws(function() {
sharp().boolean([], 'eor');
sharp().boolean();
});
});
});