mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:40:44 +00:00
test: complete bundled channel drift fixture
This commit is contained in:
@@ -41,6 +41,20 @@ function writeBundledChannelPackage(rootDir: string, channelId: string): void {
|
||||
}),
|
||||
"utf-8",
|
||||
);
|
||||
fs.writeFileSync(
|
||||
path.join(pluginDir, "openclaw.plugin.json"),
|
||||
JSON.stringify({
|
||||
id: channelId,
|
||||
configSchema: { type: "object" },
|
||||
channels: [channelId],
|
||||
}),
|
||||
"utf-8",
|
||||
);
|
||||
fs.writeFileSync(
|
||||
path.join(pluginDir, "index.js"),
|
||||
"export default { register() {} };\n",
|
||||
"utf-8",
|
||||
);
|
||||
}
|
||||
|
||||
const EMPTY_MANIFEST_REGISTRY: PluginManifestRegistry = {
|
||||
|
||||
Reference in New Issue
Block a user