← Files OpsTruthARCHIVED FILE
test/architecture-boundary.test.js
481 Bytes · Oct 2, 2026 · 00:31 UTC
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