Skip to content

Commit 493e8d6

Browse files
committed
test(first): test "first" instead of "head"
1 parent 8785338 commit 493e8d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import {
1010
filterFirst,
1111
find,
1212
findIndex,
13+
first,
1314
fold,
1415
fold1,
1516
foldMap,
1617
forEach,
1718
groupByIdentity,
18-
head,
1919
initial,
2020
isArray,
2121
isArrayLike,
@@ -43,9 +43,9 @@ test("isArrayLike", t => {
4343
t.false(isArrayLike(3));
4444
});
4545

46-
test("head", t => {
47-
t.is(head([1, 2, 3]), 1);
48-
t.is(head([]), null);
46+
test("first", t => {
47+
t.is(first([1, 2, 3]), 1);
48+
t.is(first([]), null);
4949
});
5050

5151
test("tail", t => {

0 commit comments

Comments
 (0)