test: align plugin runtime tests with loader options

This commit is contained in:
Shakker
2026-05-01 21:54:16 +01:00
parent e6825fceaa
commit 85a90a54b2
2 changed files with 0 additions and 8 deletions

View File

@@ -106,7 +106,6 @@ describe("ensureRuntimePluginsLoaded", () => {
expect(hoisted.resolveRuntimePluginRegistry).toHaveBeenCalledWith({
config: {} as never,
installBundledRuntimeDeps: false,
onlyPluginIds: ["telegram"],
workspaceDir: "/tmp/workspace",
runtimeOptions: {
@@ -140,7 +139,6 @@ describe("ensureRuntimePluginsLoaded", () => {
expect(hoisted.resolveRuntimePluginRegistry).toHaveBeenCalledWith({
config,
installBundledRuntimeDeps: false,
onlyPluginIds: ["telegram"],
workspaceDir: "/tmp/workspace",
runtimeOptions: {

View File

@@ -161,7 +161,6 @@ describe("getCompatibleActivePluginRegistry", () => {
__testing.getCompatibleActivePluginRegistry({
...loadOptions,
activate: false,
installBundledRuntimeDeps: false,
toolDiscovery: true,
}),
).toBe(registry);
@@ -189,7 +188,6 @@ describe("getCompatibleActivePluginRegistry", () => {
__testing.getCompatibleActivePluginRegistry({
...loadOptions,
onlyPluginIds: ["demo"],
installBundledRuntimeDeps: false,
}),
).toBe(registry);
});
@@ -217,7 +215,6 @@ describe("getCompatibleActivePluginRegistry", () => {
...loadOptions,
workspaceDir: "/tmp/workspace-b",
onlyPluginIds: ["demo"],
installBundledRuntimeDeps: false,
}),
).toBeUndefined();
expect(
@@ -230,14 +227,12 @@ describe("getCompatibleActivePluginRegistry", () => {
},
},
onlyPluginIds: ["demo"],
installBundledRuntimeDeps: false,
}),
).toBeUndefined();
expect(
__testing.getCompatibleActivePluginRegistry({
...loadOptions,
onlyPluginIds: ["missing"],
installBundledRuntimeDeps: false,
}),
).toBeUndefined();
});
@@ -260,7 +255,6 @@ describe("getCompatibleActivePluginRegistry", () => {
__testing.getCompatibleActivePluginRegistry({
...loadOptions,
activate: false,
installBundledRuntimeDeps: false,
runtimeOptions: {
allowGatewaySubagentBinding: true,
},