From 0365a6590a394d16348bb8646f6c033065f2644c Mon Sep 17 00:00:00 2001 From: Jay Hennessy Date: Tue, 26 May 2015 12:47:13 -0700 Subject: [PATCH] improved tests for chunky monkey bonfire --- seed_data/challenges/basic-bonfires.json | 1 + 1 file changed, 1 insertion(+) diff --git a/seed_data/challenges/basic-bonfires.json b/seed_data/challenges/basic-bonfires.json index b35ce5c45b..2f7d0d5deb 100644 --- a/seed_data/challenges/basic-bonfires.json +++ b/seed_data/challenges/basic-bonfires.json @@ -315,6 +315,7 @@ "tests": [ "assert.deepEqual(chunk(['a', 'b', 'c', 'd'], 2), [['a', 'b'], ['c', 'd']], 'should return chunked arrays');", "assert.deepEqual(chunk([0, 1, 2, 3, 4, 5], 3), [[0, 1, 2], [3, 4, 5]], 'should return chunked arrays');", + "assert.deepEqual(chunk([0, 1, 2, 3, 4, 5], 2), [[0, 1], [2, 3], [4, 5]], 'should return chunked arrays');", "assert.deepEqual(chunk([0, 1, 2, 3, 4, 5], 4), [[0, 1, 2, 3], [4, 5]], 'should return the last chunk as remaining elements');" ], "MDNlinks": ["Array.push()"],