passed repeats the string a random amount of times
This commit is contained in:
parent
6cf3662f55
commit
ddf46392f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue