test(hopper): verify real boundaries and prune redundant happy paths
This commit is contained in:
@@ -61,19 +61,6 @@ const start = async (owned: boolean) => {
|
||||
};
|
||||
|
||||
describe("Hopper provider lifecycle health", () => {
|
||||
it("keeps a live bridge healthy after a non-owning launcher helper exits", async () => {
|
||||
const { client, launcher } = await start(false);
|
||||
launcher.observed.exit(0);
|
||||
expect(client.operationHealth().state).toBe("idle");
|
||||
expect(await client.callTool("echo", { label: "GUI still alive" })).toEqual(
|
||||
{
|
||||
ok: true,
|
||||
value: { label: "GUI still alive" },
|
||||
},
|
||||
);
|
||||
expect(client.operationHealth().state).toBe("idle");
|
||||
});
|
||||
|
||||
it("settles disconnected requests without attributing the helper exit to the GUI", async () => {
|
||||
const { client, launcher } = await start(false);
|
||||
launcher.observed.exit(0);
|
||||
|
||||
@@ -27,22 +27,6 @@ describe("real Hopper semantic fixture resolution", () => {
|
||||
).rejects.toThrow(/current_document/u);
|
||||
});
|
||||
|
||||
it("resolves the public search value and preserves its reported name", async () => {
|
||||
const procedure = await resolveFixtureProcedure(
|
||||
clientWithItems([
|
||||
{
|
||||
address: "0x1000",
|
||||
value: "_rea_entry",
|
||||
},
|
||||
]),
|
||||
{},
|
||||
"rea_entry",
|
||||
normalize,
|
||||
);
|
||||
|
||||
expect(procedure).toEqual({ address: "0x1000", name: "_rea_entry" });
|
||||
});
|
||||
|
||||
it.each([
|
||||
["empty", []],
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user