diff --git a/removeFromArray/removeFromArray.spec.js b/removeFromArray/removeFromArray.spec.js index 28c744c..f60239a 100644 --- a/removeFromArray/removeFromArray.spec.js +++ b/removeFromArray/removeFromArray.spec.js @@ -19,4 +19,7 @@ describe('removeFromArray', function() { xit('works with strings', function() { expect(removeFromArray(["hey", 2, 3, "ho"], "hey", 3)).toEqual([2, "ho"]); }); + xit('only removes same type', function() { + expect(removeFromArray([1, 2, 3], "1", 3)).toEqual([1, 2]); + }); }); 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(''); + }); }); diff --git a/reverseString/reverseString.spec.js b/reverseString/reverseString.spec.js index e48840c..fe135e9 100644 --- a/reverseString/reverseString.spec.js +++ b/reverseString/reverseString.spec.js @@ -12,4 +12,7 @@ describe('reverseString', function() { xit('works with numbers and punctuation', function() { expect(reverseString('123! abc!')).toEqual('!cba !321') }) + xit('works with blank strings', function() { + expect(reverseString('')).toEqual('') + }) });