test(plugin-sdk): avoid heavy facade fallback fixture · openclaw/openclaw@e61756f
steipete
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -257,13 +257,13 @@ describe("plugin-sdk facade loader", () => {
|
257 | 257 | useBundledPluginDirOverrideForTest(overrideDir); |
258 | 258 | |
259 | 259 | const loaded = loadBundledPluginPublicSurfaceModuleSync<{ |
260 | | -closeTrackedBrowserTabsForSessions: unknown; |
| 260 | +definePluginEntry: unknown; |
261 | 261 | }>({ |
262 | | -dirName: "browser", |
263 | | -artifactBasename: "browser-maintenance.js", |
| 262 | +dirName: "thread-ownership", |
| 263 | +artifactBasename: "api.js", |
264 | 264 | }); |
265 | 265 | |
266 | | -expect(loaded.closeTrackedBrowserTabsForSessions).toEqual(expect.any(Function)); |
| 266 | +expect(loaded.definePluginEntry).toEqual(expect.any(Function)); |
267 | 267 | }); |
268 | 268 | |
269 | 269 | it("keeps bundled facade loads disabled when bundled plugins are disabled", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。