mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-02 07:50:22 +00:00
fix: sync plugin sdk guardrails and test drift
This commit is contained in:
@@ -242,9 +242,13 @@ describe("line runtime api", () => {
|
||||
});
|
||||
}, 240_000);
|
||||
|
||||
it("keeps the LINE runtime barrel self-contained ahead of the plugin-sdk facade", () => {
|
||||
it("keeps the LINE runtime barrel self-contained", () => {
|
||||
const runtimeApiPath = path.join(process.cwd(), "extensions", "line", "runtime-api.ts");
|
||||
expect(collectRuntimeApiPreExports(runtimeApiPath)).toEqual([]);
|
||||
const runtimeApiSource = readFileSync(runtimeApiPath, "utf8");
|
||||
|
||||
expect(runtimeApiSource).not.toContain("openclaw/plugin-sdk/line-runtime");
|
||||
expect(collectRuntimeApiPreExports(runtimeApiPath)).toEqual([]);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user