test: satisfy plugin contract boundaries

This commit is contained in:
Peter Steinberger
2026-04-28 00:33:40 +01:00
parent 0aef33f6c4
commit 5de3196a60
2 changed files with 7 additions and 3 deletions

View File

@@ -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(