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.
2 parents b8b1ae4 + e7f5d91 commit 5f7e20fCopy full SHA for 5f7e20f
02_repeatString/solution/repeatString-solution.spec.js
@@ -28,7 +28,7 @@ describe('repeatString', () => {
28
const number = Math.floor(Math.random() * 1000);
29
/*The .match(/((hey))/g).length is a regex that will count the number of heys
30
in the result, which if your function works correctly will equal the number that
31
- was randomaly generated. */
+ was randomly generated. */
32
expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(
33
number
34
);
0 commit comments