passed repeats the string a random amount of times

This commit is contained in:
Mohammed Nabeel 2020-07-02 09:42:36 +03:00
parent 6cf3662f55
commit ddf46392f4
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ describe('repeatString', function() {
it('returns ERROR with negative numbers', function() {
expect(repeatString('hey', -1)).toEqual('ERROR');
});
xit('repeats the string a random amount of times', function() {
it('repeats the string a random amount of times', function() {
/*The number is generated by using Math.random to get a value from between
0 to 1, when this is multiplied by 1000 and rounded down with Math.floor it
equals a number between 0 to 999 (this number will change everytime you run