Files
the_order/packages/test-utils
defiQUG 3d43155312 feat: expand test coverage and configure comprehensive alerting
- Add unit tests for all core services (identity, intake, finance, dataroom)
- Create integration test framework with shared setup utilities
- Add E2E test suite for complete user workflows
- Add test utilities package (server factory)
- Configure Prometheus alert rules (service health, infrastructure, database, Azure)
- Add alert rules ConfigMap for Kubernetes
- Update Prometheus deployment with alert rules
- Fix tsconfig.json to include test files
- Add tests/tsconfig.json for integration/E2E tests
- Fix server-factory.ts linting issues
2025-11-13 10:04:32 -08:00
..

@the-order/test-utils

Shared testing utilities for The Order monorepo.

Usage

import { createTestUser, createTestDocument, sleep } from '@the-order/test-utils';

const user = createTestUser({ email: 'custom@example.com' });
const doc = createTestDocument({ title: 'My Document' });
await sleep(1000);

Available Utilities

  • createTestUser() - Create a test user object
  • createTestDocument() - Create a test document object
  • sleep() - Wait for a specified number of milliseconds
  • createMockResponse() - Create a mock fetch response