8000 Updated README.md to add unskipping the skipped test cases · MysticRiver/javascript-exercises@5c1853e · GitHub
[go: up one dir, main page]

Skip to content

Commit 5c1853e

Browse files
authored
Updated README.md to add unskipping the skipped test cases
Just like it was mentioned in the previous exercise to remove the .skip from test.skip() in the spec.js file.
1 parent 25013df commit 5c1853e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

03_reverseString/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@ Pretty simple, write a function called `reverseString` that returns its input, r
66
reverseString('hello there') // returns 'ereht olleh'
77
```
88

9+
You will notice in this exercise that there are multiple tests (see in file reverseString.spec.js). Only the first test is currently enabled. So after making sure that this first one passes, enable the others one by one by deleting the .skip from the test.skip() function.
10+
11+
912
## Hints
1013
Strings in JavaScript cannot be reversed directly so you're going to have to split it into something else first.. do the reversal and then join it back together into a string.

0 commit comments

Comments
 (0)
0