mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 12:10:42 +00:00
test: satisfy plugin contract boundaries
This commit is contained in:
@@ -220,7 +220,11 @@ describe("prepareBundledPluginRuntimeRoot", () => {
|
||||
);
|
||||
fs.writeFileSync(
|
||||
path.join(runtimePluginRoot, "index.js"),
|
||||
`export { default } from "../../../dist/extensions/qqbot/index.js";\n`,
|
||||
[
|
||||
"export { default } from ",
|
||||
JSON.stringify("../../../dist/extensions/qqbot/index.js"),
|
||||
";\n",
|
||||
].join(""),
|
||||
"utf8",
|
||||
);
|
||||
fs.writeFileSync(
|
||||
|
||||
Reference in New Issue
Block a user