test(core): trim redundant setup and tighten waits

This commit is contained in:
Peter Steinberger
2026-02-24 00:31:36 +00:00
parent f58c1ef34e
commit 663f784e4e
6 changed files with 76 additions and 73 deletions

View File

@@ -143,9 +143,8 @@ describe("gateway-cli coverage", () => {
expect(discoverGatewayBeacons).toHaveBeenCalledTimes(1);
const out = runtimeLogs.join("\n");
for (const text of ['"beacons"', '"wsUrl"', "ws://"]) {
expect(out).toContain(text);
}
expect(out).toContain('"beacons"');
expect(out).toContain("ws://");
});
it("validates gateway discover timeout", async () => {