passed works with blank strings

This commit is contained in:
Mohammed Nabeel 2020-07-02 09:43:37 +03:00
parent ddf46392f4
commit 8b5be1eccf
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ describe('repeatString', function() {
was randomaly generated. */ was randomaly generated. */
expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number); expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number);
}); });
xit('works with blank strings', function() { it('works with blank strings', function() {
expect(repeatString('', 10)).toEqual(''); expect(repeatString('', 10)).toEqual('');
}); });
}); });