* fix(hopper): report unavailable procedure body coverage * refactor!: simplify runtime tools and remove replay engines Keep direct inspection, capture, and comparison tools. Bind handlers to named contracts and let agents compose experiments with commands and local fixture servers. BREAKING CHANGE: Remove controlled replay, Node characterization, finite replay-machine, managed runtime planning, and redundant string-tracing tools. Retire process replay, shims, reactive scenarios, custom checkpoints, and active browser replay and origin-scope inputs.
26 lines
768 B
TypeScript
26 lines
768 B
TypeScript
import { describe, expect } from "vitest";
|
|
|
|
import { cliTest } from "../../support/cli/cliFixture.js";
|
|
|
|
describe("projected CLI failures", () => {
|
|
cliTest(
|
|
"exits unsuccessfully for invalid managed reconstruction input",
|
|
async ({ cli }) => {
|
|
const result = await cli.run({
|
|
arguments: ["import-managed-reconstruction", "{}", "--json"],
|
|
});
|
|
expect(result.json).toMatchObject({ code: "invalid_request" });
|
|
expect(result.exitCode).toBe(1);
|
|
},
|
|
);
|
|
|
|
cliTest(
|
|
"keeps successful target-free inventory commands successful",
|
|
async ({ cli }) => {
|
|
const result = await cli.run({ arguments: ["capabilities", "--json"] });
|
|
expect(result.exitCode).toBe(0);
|
|
expect(result.json).toBeDefined();
|
|
},
|
|
);
|
|
});
|