mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-06 14:51:08 +00:00
test: isolate bundled plugin coverage from unit
This commit is contained in:
@@ -40,6 +40,7 @@ describe("registerPluginCliCommands browser plugin integration", () => {
|
||||
cache: false,
|
||||
env: {
|
||||
...process.env,
|
||||
OPENCLAW_DISABLE_BUNDLED_PLUGINS: undefined,
|
||||
OPENCLAW_BUNDLED_PLUGINS_DIR:
|
||||
bundledFixture?.rootDir ?? path.join(process.cwd(), "extensions"),
|
||||
} as NodeJS.ProcessEnv,
|
||||
@@ -61,6 +62,12 @@ describe("registerPluginCliCommands browser plugin integration", () => {
|
||||
},
|
||||
} as OpenClawConfig,
|
||||
cache: false,
|
||||
env: {
|
||||
...process.env,
|
||||
OPENCLAW_DISABLE_BUNDLED_PLUGINS: undefined,
|
||||
OPENCLAW_BUNDLED_PLUGINS_DIR:
|
||||
bundledFixture?.rootDir ?? path.join(process.cwd(), "extensions"),
|
||||
} as NodeJS.ProcessEnv,
|
||||
});
|
||||
|
||||
expect(registry.cliRegistrars.flatMap((entry) => entry.commands)).not.toContain("browser");
|
||||
|
||||
Reference in New Issue
Block a user