mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-29 23:55:02 +00:00
refactor: simplify plugin sdk compatibility aliases
This commit is contained in:
@@ -27,7 +27,7 @@ describe("plugin-sdk root alias", () => {
|
||||
expect(parsed.success).toBe(false);
|
||||
});
|
||||
|
||||
it("loads legacy root exports lazily through the proxy", { timeout: 240_000 }, () => {
|
||||
it("loads legacy root exports through the merged root wrapper", { timeout: 240_000 }, () => {
|
||||
expect(typeof rootSdk.resolveControlCommandGate).toBe("function");
|
||||
expect(typeof rootSdk.default).toBe("object");
|
||||
expect(rootSdk.default).toBe(rootSdk);
|
||||
|
||||
Reference in New Issue
Block a user