mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:49:33 +00:00
fix: align gateway presence + config defaults tests (#1208) (thanks @24601)
This commit is contained in:
@@ -73,7 +73,7 @@ describe("gateway server auth/connect", () => {
|
||||
});
|
||||
|
||||
test("rejects invalid token", async () => {
|
||||
const { server, ws, port, prevToken } = await startServerWithClient("secret");
|
||||
const { server, ws, prevToken } = await startServerWithClient("secret");
|
||||
const res = await connectReq(ws, { token: "wrong" });
|
||||
expect(res.ok).toBe(false);
|
||||
expect(res.error?.message ?? "").toContain("unauthorized");
|
||||
|
||||
Reference in New Issue
Block a user