mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: tighten bundled plugin asset assertions
This commit is contained in:
@@ -46,10 +46,13 @@ describe("bundled plugin assets", () => {
|
|||||||
rootDir,
|
rootDir,
|
||||||
});
|
});
|
||||||
|
|
||||||
expect(hooks).toMatchObject([
|
expect(hooks).toEqual([
|
||||||
{
|
{
|
||||||
|
aliases: ["@openclaw/canvas-plugin", "canvas", "canvas-plugin"],
|
||||||
command: "node scripts/bundle-a2ui.mjs",
|
command: "node scripts/bundle-a2ui.mjs",
|
||||||
|
packageName: "@openclaw/canvas-plugin",
|
||||||
phase: "build",
|
phase: "build",
|
||||||
|
pluginDir: path.join(rootDir, "extensions", "canvas"),
|
||||||
pluginId: "canvas",
|
pluginId: "canvas",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user