mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
0303af17f3
* test: remove low-value implementation assertions * test: refresh native i18n inventory
16 lines
636 B
TypeScript
16 lines
636 B
TypeScript
// Test helper extension boundary tests enforce helper import boundaries.
|
|
import { describe, expect, it } from "vitest";
|
|
import { main } from "../scripts/check-test-helper-extension-import-boundary.mts";
|
|
import { createCapturedIo } from "./helpers/captured-io.js";
|
|
|
|
describe("test-helper extension import boundary inventory", () => {
|
|
it("script json output stays empty", async () => {
|
|
const captured = createCapturedIo();
|
|
const exitCode = await main(["--json"], captured.io);
|
|
|
|
expect(exitCode).toBe(0);
|
|
expect(captured.readStderr()).toBe("");
|
|
expect(JSON.parse(captured.readStdout())).toStrictEqual([]);
|
|
});
|
|
});
|