← Files OpsTruthARCHIVED FILE

test/architecture-boundary.test.js

481 Bytes · Oct 4, 2026 · 12:31 UTC

↓ Download file

import assert from "node:assert/strict";
import test from "node:test";
import { spawnSync } from "node:child_process";

test("repository authority boundary passes its deterministic check", () => {
  const result = spawnSync(process.execPath, ["scripts/check-boundaries.mjs"], { cwd: new URL("..", import.meta.url), encoding: "utf8" });
  assert.equal(result.status, 0, `${result.stdout}\n${result.stderr}`);
  assert.match(result.stdout, /architecture boundary check passed/);
});

SHA-256: 6c88bc2d11775e431072a9c1a1a3bd774eae0d3f4ceee2582452182a8e006b78