Files
js-practice/test/string/reverse-words-in-a-string.test.js
2020-04-28 18:36:18 +08:00

6 lines
222 B
JavaScript

import ReverseWordsInAString from '../../src/string/reverse-words-in-a-string'
test('ReverseWordsInAString', () => {
expect(ReverseWordsInAString('Let\'s take LeetCode contest')).toBe('s\'teL ekat edoCteeL tsetnoc')
})