Files
2026-08-11 00:56:55 +02:00

8 lines
174 B
TypeScript

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 });
});