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