diff --git a/02_repeatString/repeatString.spec.js b/02_repeatString/repeatString.spec.js index c9e8d6e..305bce2 100644 --- a/02_repeatString/repeatString.spec.js +++ b/02_repeatString/repeatString.spec.js @@ -29,7 +29,7 @@ describe('repeatString', () => { /*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 randomly generated. */ - expect(repeatString('odin', number).match(/((odin))/g).length).toEqual(number); + expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number); }); test.skip('works with blank strings', () => { expect(repeatString('', 10)).toEqual('');