test: add bun test runner

This commit is contained in:
William Valentin
2026-01-31 23:43:54 -08:00
parent 748b930a1f
commit ddedfda976
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import { expect, test } from "bun:test";
test("bun test runs", () => expect(1 + 1).toBe(2));
test("package.json has bun test script", async () => {
const pkg = await import("../../../../package.json");
expect(pkg.scripts.test).toBe("bun test");
});