mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:50:43 +00:00
test: speed up plugin activation boundary test
This commit is contained in:
@@ -19,7 +19,7 @@ const loadBundledPluginPublicSurfaceModuleSync = vi.hoisted(() =>
|
||||
}),
|
||||
);
|
||||
|
||||
const loadPluginManifestRegistry = vi.hoisted(() =>
|
||||
const loadPluginManifestRegistryForPluginRegistry = vi.hoisted(() =>
|
||||
vi.fn(() => ({
|
||||
diagnostics: [],
|
||||
plugins: [
|
||||
@@ -78,8 +78,8 @@ const facadeMockHelpers = vi.hoisted(() => {
|
||||
return { createLazyFacadeArrayValue, createLazyFacadeObjectValue };
|
||||
});
|
||||
|
||||
vi.mock("./plugins/manifest-registry.js", () => ({
|
||||
loadPluginManifestRegistry,
|
||||
vi.mock("./plugins/plugin-registry.js", () => ({
|
||||
loadPluginManifestRegistryForPluginRegistry,
|
||||
}));
|
||||
|
||||
vi.mock("./secrets/channel-env-vars.js", () => ({
|
||||
|
||||
Reference in New Issue
Block a user