Skip to content

Commit 78c41fc

Browse files
committed
test: add test for shortKind
1 parent 800cda8 commit 78c41fc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/short-kind.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { expect, test } from "vitest";
2+
import { shortKind } from "./short-kind";
3+
4+
test("shortKind", () => {
5+
expect(shortKind("variable")).toBe("variable");
6+
expect(shortKind("class-constructor")).toBe("constructor");
7+
expect(shortKind("interface-call-signature")).toBe("call signature");
8+
});

0 commit comments

Comments
 (0)