moy-fp
Version:
A functional programming library.
18 lines (15 loc) • 308 B
JavaScript
import __ from '../../src/Function/__'
/**
* String -> String
*/
import toLower from '../../src/String/toLower'
test('toLower(not using __)', () => {
expect(
toLower('MURAKAMI')
).toBe('murakami')
})
test('toLower(using __)', () => {
expect(
toLower(__)('MURAKAMI')
).toBe('murakami')
})