From f53e759e230d4b31bfb171a90e5d67d33d67c360 Mon Sep 17 00:00:00 2001 From: Charles Bakar Date: Sun, 28 May 2017 18:50:29 +0200 Subject: [PATCH] Add test to Arrow functions with input parameters --- .../02-javascript-algorithms-and-data-structures/es6.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/02-javascript-algorithms-and-data-structures/es6.json b/challenges/02-javascript-algorithms-and-data-structures/es6.json index 861aea3153c..35c560ae6c9 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/es6.json +++ b/challenges/02-javascript-algorithms-and-data-structures/es6.json @@ -230,7 +230,7 @@ "tests": [ "// Test user did replace var keyword", "// Test myConcat is const", - "// Test myConcat is a function", + "assert(typeof myConcat === \"function\", 'message: myConcat should be a function');", "// Test myConcat() returns the correct array", "// Test function keyword was not used", "// Test arrow => was used"