test-writing
Installation
SKILL.md
Test Writing
This project uses Bun's built-in test runner -- not Jest, Vitest, or any other framework.
Quick Reference
import { afterEach, beforeEach, describe, expect, mock, test } from "bun:test";
import { MyModule } from "./my-module";
import type { MyType } from "@/types/my-type";
Run tests:
bun test # all tests
bun test src/sync/customers.test.ts # specific file
bun test --coverage # with coverage