8000 Revert edits · unconnect/javascript-exercises@3236ae1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3236ae1

Browse files
committed
Revert edits
1 parent 61f38bf commit 3236ae1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

03_reverseString/reverseString.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const reverseString = function(str) {
2-
let newStr = str.split("").reverse().join("");
2+
33
};
44

55
module.exports = reverseString;

03_reverseString/reverseString.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ describe('reverseString', () => {
55
expect(reverseString('hello')).toEqual('olleh');
66
});
77

8-
test('reverses multiple words', () => {
8+
test.skip('reverses multiple words', () => {
99
expect(reverseString('hello there')).toEqual('ereht olleh')
1010
})
1111

12-
test('works with numbers and punctuation', () => {
12+
test.skip('works with numbers and punctuation', () => {
1313
expect(reverseString('123! abc!')).toEqual('!cba !321')
1414
})
15-
test('works with blank strings', () => {
15+
test.skip('works with blank strings', () => {
1616
expect(reverseString('')).toEqual('')
1717
})
1818
});

0 commit comments

Comments
 (0)
0