mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Increase unit test coverage for recently added operations
Switch param validation to use internal functions
This commit is contained in:
@@ -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();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user