mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 18:10:22 +00:00
fix: preserve allowlist guard for auto-enabled bundled channels (#60233) (thanks @dorukardahan)
This commit is contained in:
@@ -252,6 +252,7 @@ describe("loadGatewayPlugins", () => {
|
||||
});
|
||||
expect(resolveGatewayStartupPluginIds).toHaveBeenCalledWith({
|
||||
config: {},
|
||||
activationSourceConfig: undefined,
|
||||
workspaceDir: "/tmp",
|
||||
env: process.env,
|
||||
});
|
||||
@@ -308,6 +309,7 @@ describe("loadGatewayPlugins", () => {
|
||||
|
||||
expect(resolveGatewayStartupPluginIds).toHaveBeenCalledWith({
|
||||
config: autoEnabledConfig,
|
||||
activationSourceConfig: undefined,
|
||||
workspaceDir: "/tmp",
|
||||
env: process.env,
|
||||
});
|
||||
@@ -343,6 +345,12 @@ describe("loadGatewayPlugins", () => {
|
||||
config: rawConfig,
|
||||
env: process.env,
|
||||
});
|
||||
expect(resolveGatewayStartupPluginIds).toHaveBeenCalledWith({
|
||||
config: resolvedConfig,
|
||||
activationSourceConfig: rawConfig,
|
||||
workspaceDir: "/tmp",
|
||||
env: process.env,
|
||||
});
|
||||
expect(loadOpenClawPlugins).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
config: resolvedConfig,
|
||||
|
||||
Reference in New Issue
Block a user