Learn more about Mintlify
Enter your email to receive updates about new features and product releases.
Execute tests using Bun’s test runner
bun test
bun test math.test.ts
bun test --watch
import { test, expect } from "bun:test"; test("addition", () => { expect(2 + 2).toBe(4); }); test("async test", async () => { const result = await fetchData(); expect(result).toBeDefined(); });