Sha256: 52c3c215b430c461e37fc54585a8b8aff1c21c2e3df18d4dc0a09cff5d685b93
Contents?: true
Size: 796 Bytes
Versions: 68
Compression:
Stored size: 796 Bytes
Contents
import ReverseString from './reverse-string' describe('Reverse String', () => { it('an empty string', () => { const expected = '' expect(ReverseString.reverse('')).toEqual(expected) }) xit('a word', () => { const expected = 'tobor' expect(ReverseString.reverse('robot')).toEqual(expected) }) xit('a capitalized word', () => { const expected = 'nemaR' expect(ReverseString.reverse('Ramen')).toEqual(expected) }) xit('a sentence with punctuation', () => { const expected = `!yrgnuh m'I` expect(ReverseString.reverse(`I'm hungry!`)).toEqual(expected) }) xit('a palindrome', () => { const expected = 'racecar' expect(ReverseString.reverse('racecar')).toEqual(expected) }) })
Version data entries
68 entries across 68 versions & 1 rubygems