mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-07-18 14:13:24 +09:00
Added blank string test to reverseString
This commit is contained in:
@@ -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('')
|
||||||
|
})
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user