Revert "remove class based exercises"

This reverts commit 290e7f1da4.
This commit is contained in:
Cody Loyd
2017-11-24 14:23:16 -06:00
parent 4d1f419b41
commit 829730fb79
18 changed files with 164 additions and 67 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
var reverseString = function(string) {
return string.split('').reverse().join('')
var reverseString = function() {
}
module.exports = reverseString
module.exports = reverseString
+3 -3
View File
@@ -5,11 +5,11 @@ describe('Hello World', function() {
expect(reverseString('hello')).toEqual('olleh');
});
it('reverses multiple words', function() {
xit('reverses multiple words', function() {
expect(reverseString('hello there')).toEqual('ereht olleh')
})
it('works with numbers and punctuation', function() {
xit('works with numbers and punctuation', function() {
expect(reverseString('123! abc!')).toEqual('!cba !321')
})
});
});