diff --git a/index.test.ts b/index.test.ts index 810d6ac0..cd5b36cc 100644 --- a/index.test.ts +++ b/index.test.ts @@ -10,12 +10,12 @@ import { filterFirst, find, findIndex, + first, fold, fold1, foldMap, forEach, groupByIdentity, - head, initial, isArray, isArrayLike, @@ -43,9 +43,9 @@ test("isArrayLike", t => { t.false(isArrayLike(3)); }); -test("head", t => { - t.is(head([1, 2, 3]), 1); - t.is(head([]), null); +test("first", t => { + t.is(first([1, 2, 3]), 1); + t.is(first([]), null); }); test("tail", t => {