From 5817ea2140e504cc036bc04f8798409ae36ba839 Mon Sep 17 00:00:00 2001 From: Roger Date: Fri, 8 May 2020 16:59:37 +1000 Subject: [PATCH] Added blank string test to repeatString --- repeatString/repeatString.spec.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repeatString/repeatString.spec.js b/repeatString/repeatString.spec.js index 27c9933..7124484 100644 --- a/repeatString/repeatString.spec.js +++ b/repeatString/repeatString.spec.js @@ -27,4 +27,7 @@ describe('repeatString', function() { was randomaly generated. */ expect(repeatString('hey', number).match(/((hey))/g).length).toEqual(number); }); + xit('works with blank strings', function() { + expect(repeatString('', 10)).toEqual(''); + }); });