Skip to main content

Test Helpers

Shared test utilities are in test/helpers/:

  • setup.ts: Database setup, test fixtures
  • fund-helpers.ts: Fund creation utilities
  • dse-helpers.ts: Mock DSE API data
  • test-data.ts: Common test data

Usage

import { getTestDB, seedTestOrganization } from "../helpers/setup";

describe("MyTest", () => {
let db: ProductionDBClient;

beforeAll(async () => {
db = await getTestDB();
});
});