Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 350 Bytes

testing.md

File metadata and controls

27 lines (20 loc) · 350 Bytes

Testing

Running Tests

npm test
npm run test:coverage
npm run test:watch

Test Structure

  • Unit tests in tests/
  • Named *.test.ts
  • Uses Vitest

Writing Tests

import { describe, it, expect } from "vitest";

describe("feature", () => {
  it("should work", () => {
    expect(true).toBe(true);
  });
});