test(gateway): avoid post-close auth rotation rpc

This commit is contained in:
Vincent Koc
2026-04-30 01:49:46 -07:00
parent 62be4eb21e
commit d50ad19e4b

View File

@@ -86,9 +86,6 @@ describe("gateway shared token session rotation", () => {
});
expect(setRes.ok).toBe(true);
await expect(rpcReq(ws, "config.get", {})).rejects.toThrow(
"closed 4001: gateway auth changed",
);
await expect(closed).resolves.toMatchObject({
code: 4001,
reason: "gateway auth changed",