mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
Merge pull request #521 from bhagyeshsp/patch-3
02_repeatString/solution - Line-32, replace "odin" with "hey"
This commit is contained in:
@@ -29,7 +29,7 @@ describe('repeatString', () => {
|
|||||||
/*The .match(/((hey))/g).length is a regex that will count the number of heys
|
/*The .match(/((hey))/g).length is a regex that will count the number of heys
|
||||||
in the result, which if your function works correctly will equal the number that
|
in the result, which if your function works correctly will equal the number that
|
||||||
was randomly generated. */
|
was randomly generated. */
|
||||||
expect(repeatString('odin', number).match(/((odin))/g).length).toEqual(
|
expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(
|
||||||
number
|
number
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user