Tests for unionBy, unionWith
This commit is contained in:
@ -5,9 +5,10 @@ test('Testing unionBy', (t) => {
|
||||
//For more information on all the methods supported by tape
|
||||
//Please go to https://github.com/substack/tape
|
||||
t.true(typeof unionBy === 'function', 'unionBy is a Function');
|
||||
t.deepEqual(unionBy([2.1], [1.2, 2.3], Math.floor), [2.1, 1.2], 'Produces the appropriate results');
|
||||
//t.deepEqual(unionBy(args..), 'Expected');
|
||||
//t.equal(unionBy(args..), 'Expected');
|
||||
//t.false(unionBy(args..), 'Expected');
|
||||
//t.throws(unionBy(args..), 'Expected');
|
||||
t.end();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user