Add office agent management wizard (#56)
* Add agents * Agent * Added agents management * Polish agent wizard and release blockers. Finalize the office agent management flow by aligning the gateway fallback behavior, cleaning up UI semantics, and updating tests so the branch is ready to ship. Made-with: Cursor --------- Co-authored-by: iamlukethedev <iamlukethedev@users.noreply.github.com> Co-authored-by: iamlukethedev <lucas.guilherme@smartwayslfl.com>
This commit is contained in:
@@ -18,7 +18,7 @@ describe("resolveGatewayAutoRetryDelayMs", () => {
|
||||
expect(delay).toBeNull();
|
||||
});
|
||||
|
||||
it("retries for non-auth connect failures", () => {
|
||||
it("does not retry when the upstream websocket upgrade fails", () => {
|
||||
const delay = resolveGatewayAutoRetryDelayMs({
|
||||
status: "disconnected",
|
||||
didAutoConnect: true,
|
||||
@@ -31,8 +31,7 @@ describe("resolveGatewayAutoRetryDelayMs", () => {
|
||||
attempt: 0,
|
||||
});
|
||||
|
||||
expect(delay).toBeTypeOf("number");
|
||||
expect(delay).toBeGreaterThan(0);
|
||||
expect(delay).toBeNull();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user