From 67402e5235920d770e021c97eb5d523f2aa284b2 Mon Sep 17 00:00:00 2001 From: Mohammed Nabeel Date: Wed, 15 Jul 2020 18:28:24 +0300 Subject: [PATCH] Ignores non-present values,but still works --- removeFromArray/removeFromArray.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/removeFromArray/removeFromArray.spec.js b/removeFromArray/removeFromArray.spec.js index a1f499e..4e319b9 100644 --- a/removeFromArray/removeFromArray.spec.js +++ b/removeFromArray/removeFromArray.spec.js @@ -10,7 +10,7 @@ describe('removeFromArray', function() { it('ignores non present values', function() { expect(removeFromArray([1, 2, 3, 4], 7, "tacos")).toEqual([1, 2, 3, 4]); }); - xit('ignores non present values, but still works', function() { + it('ignores non present values, but still works', function() { expect(removeFromArray([1, 2, 3, 4], 7, 2)).toEqual([1, 3, 4]); }); xit('can remove all values', function() {