Fix typo
This commit is contained in:
		
							parent
							
								
									ea8be89daf
								
							
						
					
					
						commit
						fc48c4bc6d
					
				| 
						 | 
					@ -28,7 +28,7 @@ describe('repeatString', () => {
 | 
				
			||||||
    const number = Math.floor(Math.random() * 1000)
 | 
					    const number = Math.floor(Math.random() * 1000)
 | 
				
			||||||
    /*The .match(/((hey))/g).length is a regex that will count the number of heys
 | 
					    /*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
 | 
					    in the result, which if your function works correctly will equal the number that
 | 
				
			||||||
    was randomaly generated. */
 | 
					    was randomly generated. */
 | 
				
			||||||
    expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number);
 | 
					    expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number);
 | 
				
			||||||
  });
 | 
					  });
 | 
				
			||||||
  test.skip('works with blank strings', () => {
 | 
					  test.skip('works with blank strings', () => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue