diff --git a/03_reverseString/reverseString.js b/03_reverseString/reverseString.js index ad79ce0..5ce90ac 100644 --- a/03_reverseString/reverseString.js +++ b/03_reverseString/reverseString.js @@ -1,5 +1,5 @@ const reverseString = function(str) { - let newStr = str.split("").reverse().join(""); + }; module.exports = reverseString; diff --git a/03_reverseString/reverseString.spec.js b/03_reverseString/reverseString.spec.js index b51c50e..8adb887 100644 --- a/03_reverseString/reverseString.spec.js +++ b/03_reverseString/reverseString.spec.js @@ -5,14 +5,14 @@ describe('reverseString', () => { expect(reverseString('hello')).toEqual('olleh'); }); - test('reverses multiple words', () => { + test.skip('reverses multiple words', () => { expect(reverseString('hello there')).toEqual('ereht olleh') }) - test('works with numbers and punctuation', () => { + test.skip('works with numbers and punctuation', () => { expect(reverseString('123! abc!')).toEqual('!cba !321') }) - test('works with blank strings', () => { + test.skip('works with blank strings', () => { expect(reverseString('')).toEqual('') }) });