UNPKG

moy-fp

Version:
18 lines (15 loc) 343 B
import __ from '../../src/Function/__' /** * [a] -> [a] -> [a] */ import concatList from '../../src/List/concatList' test('concatList(not using __)', () => { expect( concatList([3, 4])([1, 2]) ).toEqual([1, 2, 3, 4]) }) test('concatList(using __)', () => { expect( concatList(__, [1, 2])([3, 4]) ).toEqual([1, 2, 3, 4]) })