mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 03:28:29 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -140,7 +140,7 @@ describe("gateway server models + voicewake", () => {
|
||||
"voicewake.get returns defaults and voicewake.set broadcasts",
|
||||
{ timeout: 60_000 },
|
||||
async () => {
|
||||
const homeDir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-home-"));
|
||||
const homeDir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-home-"));
|
||||
const restoreHome = setTempHome(homeDir);
|
||||
|
||||
const initial = await rpcReq<{ triggers: string[] }>(ws, "voicewake.get");
|
||||
@@ -181,7 +181,7 @@ describe("gateway server models + voicewake", () => {
|
||||
);
|
||||
|
||||
test("pushes voicewake.changed to nodes on connect and on updates", async () => {
|
||||
const homeDir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-home-"));
|
||||
const homeDir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-home-"));
|
||||
const restoreHome = setTempHome(homeDir);
|
||||
|
||||
const nodeWs = new WebSocket(`ws://127.0.0.1:${port}`);
|
||||
|
||||
Reference in New Issue
Block a user