Files
openclaw/scripts/check-test-helper-extension-import-boundary.mts
T
Peter Steinberger 0303af17f3 test: remove low-value implementation assertions (#121085)
* test: remove low-value implementation assertions

* test: refresh native i18n inventory
2026-08-09 08:48:48 -07:00

21 lines
721 B
TypeScript

#!/usr/bin/env node
// Runs the test-helper extension import boundary checker.
import { createExtensionImportBoundaryChecker } from "./lib/extension-import-boundary-checker.mts";
import { runAsScript } from "./lib/ts-guard-utils.mts";
const checker = createExtensionImportBoundaryChecker({
roots: ["test/helpers"],
boundaryLabel: "test helper",
rule: "Rule: test/helpers/** must not import bundled plugin files directly",
cleanMessage: "No test-helper import boundary violations found.",
inventoryTitle: "Test-helper extension import boundary inventory:",
});
/**
* Entrypoint for the test-helper extension import boundary checker.
*/
export const main = checker.main;
runAsScript(import.meta.url, main);