mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 21:01:43 +03:00
feat: add send --json, logger cleanup, and resilient Claude parsing
This commit is contained in:
@@ -74,6 +74,10 @@ describe("provider-web", () => {
|
||||
expect(makeWASocket).toHaveBeenCalledWith(
|
||||
expect.objectContaining({ printQRInTerminal: false }),
|
||||
);
|
||||
const passed = makeWASocket.mock.calls[0][0];
|
||||
expect((passed as { logger?: { level?: string } }).logger?.level).toBe(
|
||||
"silent",
|
||||
);
|
||||
const sock = getLastSocket();
|
||||
const saveCreds = (
|
||||
await baileys.useMultiFileAuthState.mock.results[0].value
|
||||
|
||||
Reference in New Issue
Block a user