mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 17:38:27 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -14,7 +14,7 @@ describe("cron run log", () => {
|
||||
});
|
||||
|
||||
it("appends JSONL and prunes by line count", async () => {
|
||||
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-cron-log-"));
|
||||
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-cron-log-"));
|
||||
const logPath = path.join(dir, "runs", "job-1.jsonl");
|
||||
|
||||
for (let i = 0; i < 10; i++) {
|
||||
@@ -44,7 +44,7 @@ describe("cron run log", () => {
|
||||
});
|
||||
|
||||
it("reads newest entries and filters by jobId", async () => {
|
||||
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-cron-log-read-"));
|
||||
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-cron-log-read-"));
|
||||
const logPathA = path.join(dir, "runs", "a.jsonl");
|
||||
const logPathB = path.join(dir, "runs", "b.jsonl");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user