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 a51985b commit eb98808Copy full SHA for eb98808
starter-code/tests/FunctionsAndArraysSpec.js
@@ -49,7 +49,7 @@ describe('Finding Longest Word - findLongestWord', () => {
49
});
50
51
it('returns the longest occurrence when it has multiple words', () => {
52
- const words = ['a', 'zab', '12abc', '$$abcd', 'abcde', 'ironhack'];
+ let words = ['a', 'zab', '12abc', '$$abcd', 'abcde', 'ironhack'];
53
for (let i = 0; i < 10; i++) {
54
words = shuffle(words);
55
expect(findLongestWord(words)).toBe('ironhack');
0 commit comments