Fakes

loom-sprint-scaffoldtesttypescript
Path: loom-sprint-scaffold/loom/tests/fixtures/fakes.tsRelative: loom/tests/fixtures/fakes.tsSubproject: loom-sprint-scaffoldCategory: tests
Lines: 384Bytes: 13,629Imports: 5Exports: 21has tests

Content Preview

  1. /**
  2. * Shared fake implementations for LOOM E2E tests.
  3. *
  4. * Consolidates patterns from:
  5. * tests/orchestrator/checkpoint.test.ts
  6. * tests/execution/harness.test.ts
  7. * tests/memory/helpers.ts
  8. * tests/dispatcher/envelope-compiler.test.ts
  9. *
  10. * Existing tests continue using their local fakes — this file is the
  11. * canonical source for golden-runner and E2E tests.
  12. */
  13. import { sha256Hex } from "../../src/lib/ids";
  14. import type { GoalState, GoalId, StageSpec, GoalTunables, Predicate } from "