Added blank string test to reverseString

This commit is contained in:
Roger 2020-05-08 16:56:55 +10:00
parent 68691ab7a6
commit 3758497cb2
1 changed files with 3 additions and 0 deletions

View File

@ -12,4 +12,7 @@ describe('reverseString', function() {
xit('works with numbers and punctuation', function() { xit('works with numbers and punctuation', function() {
expect(reverseString('123! abc!')).toEqual('!cba !321') expect(reverseString('123! abc!')).toEqual('!cba !321')
}) })
xit('works with blank strings', function() {
expect(reverseString('')).toEqual('')
})
}); });