passed repeat the string 0 times

This commit is contained in:
Mohammed Nabeel 2020-07-02 09:35:12 +03:00
parent 042bdf5d49
commit b3038bccd0
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ describe('repeatString', function() {
it('repeats the string 1 times', function() { it('repeats the string 1 times', function() {
expect(repeatString('hey', 1)).toEqual('hey'); expect(repeatString('hey', 1)).toEqual('hey');
}); });
xit('repeats the string 0 times', function() { it('repeats the string 0 times', function() {
expect(repeatString('hey', 0)).toEqual(''); expect(repeatString('hey', 0)).toEqual('');
}); });
xit('returns ERROR with negative numbers', function() { xit('returns ERROR with negative numbers', function() {