This commit is contained in:
gerijeb 2022-01-01 21:50:35 -03:00
parent 6b0e0e55e3
commit 09806f109a
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ describe('repeatString', () => {
const number = Math.floor(Math.random() * 1000)
/*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
was randomaly generated. */
was randomly generated. */
expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number);
});
test.skip('works with blank strings', () => {