Skip to content

Commit 922b3a2

Browse files
committed
test: add test for shortId
1 parent 9128da1 commit 922b3a2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/short-id.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { expect, test } from "vitest";
2+
import { shortId } from "./short-id";
3+
4+
test("shortId", () => {
5+
expect(shortId("+function.foo")).toBe("foo");
6+
});

0 commit comments

Comments
 (0)