From bfa016cef12147ad407387040b5fbb9cf7797f4d Mon Sep 17 00:00:00 2001 From: Oscar Shrimpton Date: Tue, 30 Jan 2018 19:20:21 +0000 Subject: [PATCH] Test for call() --- test/call/call.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/call/call.test.js b/test/call/call.test.js index ba15d452e..bf1ed5e56 100644 --- a/test/call/call.test.js +++ b/test/call/call.test.js @@ -6,7 +6,7 @@ test('Testing call', (t) => { //Please go to https://github.com/substack/tape t.true(typeof call === 'function', 'call is a Function'); //t.deepEqual(call(args..), 'Expected'); - //t.equal(call(args..), 'Expected'); + t.looseEqual(call('map', x => x * 2)([1, 2, 3]), [2, 4, 6], 'Calls function on given object'); //t.false(call(args..), 'Expected'); //t.throws(call(args..), 'Expected'); t.end();