Skip to content

Commit

Permalink
Rename folders with numbers and underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
remtaine committed Aug 7, 2021
1 parent 55cfb17 commit 61f38bf
Show file tree
Hide file tree
Showing 40 changed files with 8 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 0 additions & 5 deletions 03 reverseString/reverseString.js

This file was deleted.

File renamed without changes.
5 changes: 5 additions & 0 deletions 03_reverseString/reverseString.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const reverseString = function(str) {
let newStr = str.split("").reverse().join("");
};

module.exports = reverseString;
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ describe('reverseString', () => {
expect(reverseString('hello')).toEqual('olleh');
});

test.skip('reverses multiple words', () => {
test('reverses multiple words', () => {
expect(reverseString('hello there')).toEqual('ereht olleh')
})

test.skip('works with numbers and punctuation', () => {
test('works with numbers and punctuation', () => {
expect(reverseString('123! abc!')).toEqual('!cba !321')
})
test.skip('works with blank strings', () => {
test('works with blank strings', () => {
expect(reverseString('')).toEqual('')
})
});
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 61f38bf

Please sign in to comment.