From 63f71b26c7179a024f3c70a4ed6fcceb75571f7d Mon Sep 17 00:00:00 2001 From: azou1 Date: Mon, 3 Dec 2018 14:12:04 -0500 Subject: [PATCH] added null and undefined to compact test --- test/compact.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/compact.test.js b/test/compact.test.js index e63c47b8e..5469b1ccf 100644 --- a/test/compact.test.js +++ b/test/compact.test.js @@ -5,7 +5,7 @@ test('compact is a Function', () => { expect(compact).toBeInstanceOf(Function); }); test('Removes falsey values from an array', () => { - expect(compact([0, 1, false, 2, '', 3, 'a', 'e' * 23, NaN, 's', 34])).toEqual([ + expect(compact([0, 1, false, 2, '', 3, 'a', 'e' * 23, NaN, 's', 34, null, undefined])).toEqual([ 1, 2, 3,