mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 02:48:27 +00:00
style: biome formatting
This commit is contained in:
@@ -8,8 +8,8 @@ import { WebSocket } from "ws";
|
||||
import { agentCommand } from "../commands/agent.js";
|
||||
import {
|
||||
CONFIG_PATH_CLAWDIS,
|
||||
STATE_DIR_CLAWDIS,
|
||||
readConfigFileSnapshot,
|
||||
STATE_DIR_CLAWDIS,
|
||||
writeConfigFile,
|
||||
} from "../config/config.js";
|
||||
import { emitAgentEvent } from "../infra/agent-events.js";
|
||||
@@ -2108,7 +2108,10 @@ describe("gateway server", () => {
|
||||
);
|
||||
expect(res.ok).toBe(true);
|
||||
const payload = res.payload as
|
||||
| { type?: unknown; snapshot?: { configPath?: string; stateDir?: string } }
|
||||
| {
|
||||
type?: unknown;
|
||||
snapshot?: { configPath?: string; stateDir?: string };
|
||||
}
|
||||
| undefined;
|
||||
expect(payload?.type).toBe("hello-ok");
|
||||
expect(payload?.snapshot?.configPath).toBe(CONFIG_PATH_CLAWDIS);
|
||||
|
||||
Reference in New Issue
Block a user