We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f570c19 commit 9306d71Copy full SHA for 9306d71
exercises/14-Divide-and-Conquer/test.js
@@ -19,7 +19,7 @@ test('You have to use a "for" loop', () => {
19
const regex = /for\s*/gm
20
expect(regex.test(file.toString())).toBeTruthy();
21
})
22
-test('You have to use a "for" loop', () => {
+test('You must use the .concat() method', () => {
23
const file = fs.readFileSync(path.resolve(__dirname, './app.js'), 'utf8');
24
const regex = /.concat\s*/gm
25
@@ -63,4 +63,4 @@ test('The returned array must contain inside all the even items at the end', ()
63
64
_evens_1.forEach((num, i) => expect(num).toEqual(arrTest_1[i + 8]))
65
_evens_2.forEach((num, i) => expect(num).toEqual(arrTest_2[i + 5]))
66
-});
+});
0 commit comments