Test cleanup and fixes [a-b]
This commit is contained in:
@ -6,6 +6,8 @@ const over = require('./over.js');
|
||||
expect(over).toBeInstanceOf(Function);
|
||||
});
|
||||
const minMax = over(Math.min, Math.max);
|
||||
t.deepEqual(minMax(1, 2, 3, 4, 5), [1,5], 'Applies given functions over multiple arguments');
|
||||
test('Applies given functions over multiple arguments', () => {
|
||||
expect(minMax(1, 2, 3, 4, 5), [1,5]).toEqual()
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user