Report.Test

loom-sprint-scaffoldtesttypescript
Path: loom-sprint-scaffold/loom/tests/synthesis/report.test.tsRelative: loom/tests/synthesis/report.test.tsSubproject: loom-sprint-scaffoldCategory: tests
Lines: 184Bytes: 6,142Imports: 4Exports: 0has tests

Content Preview

  1. /**
  2. * Integration test for the full synthesis report pipeline.
  3. *
  4. * Proves:
  5. * - Synthetic trace corpus → deterministic report
  6. * - Run twice → byte-identical JSON (same corpus + clock → same output)
  7. * - All report fields populated correctly
  8. */
  9. import { describe, expect, test } from "bun:test";
  10. import { runSynthesis } from "../../src/synthesis/core/report";
  11. import { buildCorpus } from "./fixtures";
  12. import type {
  13. TraceReader,
  14. RegistryWriter,
  15. SkillProposerStore,
  16. BlobStore,
  17. Clo