Test cleanup and fixes [a-b]
This commit is contained in:
@ -5,6 +5,8 @@ const unionBy = require('./unionBy.js');
|
||||
test('unionBy is a Function', () => {
|
||||
expect(unionBy).toBeInstanceOf(Function);
|
||||
});
|
||||
t.deepEqual(unionBy([2.1], [1.2, 2.3], Math.floor), [2.1, 1.2], 'Produces the appropriate results');
|
||||
test('Produces the appropriate results', () => {
|
||||
expect(unionBy([2.1], [1.2, 2.3], Math.floor), [2.1, 1.2]).toEqual()
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user