Final fixes, all tests running
This commit is contained in:
@ -5,5 +5,5 @@ test('call is a Function', () => {
|
||||
expect(call).toBeInstanceOf(Function);
|
||||
});
|
||||
test('Calls function on given object', () => {
|
||||
expect(call('map', x => x * 2)([1, 2, 3])).toBe([2, 4, 6]);
|
||||
expect(call('map', x => x * 2)([1, 2, 3])).toEqual([2, 4, 6]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user