Gate Analyzer.Test

loom-builder-soltesttypescript
Path: loom-builder-sol/src/gate-analyzer.test.tsRelative: src/gate-analyzer.test.tsSubproject: loom-builder-solCategory: dispatch-system-sol
Lines: 546Bytes: 19,035Imports: 6Exports: 0has tests

Content Preview

  1. import { describe, expect, test, mock, beforeEach } from "bun:test";
  2. import type { DispatchSpec, ValidationCmd, GateAnalysisFinding, GateAnalysisReport } from "./types.js";
  3. import {
  4. analyzeSpecLayerA,
  5. analyzeGates,
  6. generateGateAnalysisMd,
  7. generateDigestSection,
  8. preflightGateAnalysis,
  9. GateAnalysisError,
  10. } from "./gate-analyzer.js";
  11. import { mkdirSync, writeFileSync, existsSync, readFileSync } from "node:fs";
  12. import { join, resolve } from "node:path";
  13. import { tmpdir } from "node:os";