add more tests
This commit is contained in:
1 parent
81eaeda05a
commit
09b6282a2e
6 files changed
+37
-3
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import { expect, test } from "vitest";
|
||||
import { type Box, box } from "./box.ts";
|
||||
|
||||
test("box", () => {
|
||||
const b: Box<number> = box(42);
|
||||
expect(b).toEqual({ value: 42 });
|
||||
});
|
||||
Reference in new issue
Block a user