mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-03 03:03:24 -04:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -8,7 +8,7 @@ import { copyA2uiAssets } from "../../scripts/canvas-a2ui-copy.js";
|
||||
|
||||
describe("canvas a2ui copy", () => {
|
||||
it("throws a helpful error when assets are missing", async () => {
|
||||
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-a2ui-"));
|
||||
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-a2ui-"));
|
||||
|
||||
try {
|
||||
await expect(copyA2uiAssets({ srcDir: dir, outDir: path.join(dir, "out") })).rejects.toThrow(
|
||||
@@ -20,7 +20,7 @@ describe("canvas a2ui copy", () => {
|
||||
});
|
||||
|
||||
it("copies bundled assets to dist", async () => {
|
||||
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-a2ui-"));
|
||||
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-a2ui-"));
|
||||
const srcDir = path.join(dir, "src");
|
||||
const outDir = path.join(dir, "dist");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user