UNPKG

moy-fp

Version:
18 lines (15 loc) 308 B
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') })