Golden.Test

loom-sprint-scaffoldtesttypescript
Path: loom-sprint-scaffold/loom/tests/e2e/golden.test.tsRelative: loom/tests/e2e/golden.test.tsSubproject: loom-sprint-scaffoldCategory: tests
Lines: 50Bytes: 2,037Imports: 5Exports: 0has tests

Content Preview

  1. /**
  2. * E2E Golden Goal Tests.
  3. *
  4. * Runs all three golden goals end-to-end through all LOOM loops.
  5. * Each asserts:
  6. * - goal reaches terminal (completed) state
  7. * - stepCount ≥ 200
  8. * - every stage transition has a trace event
  9. */
  10. import { describe, expect, test } from "bun:test";
  11. import { runGoal } from "./golden-runner";
  12. import { script as codegenScript, assert as assertCodegen } from "./goals/codegen";
  13. import { script as researchScript, assert as assertResearch } from "./goals/researc