test: isolate bundled plugin coverage from unit

This commit is contained in:
Peter Steinberger
2026-04-03 10:56:55 +01:00
parent 64755c52f2
commit 55e43cbc7f
21 changed files with 629 additions and 89 deletions

View File

@@ -37,6 +37,7 @@ const PATH_RESOLUTION_ENV_KEYS = [
"OPENCLAW_HOME",
"OPENCLAW_STATE_DIR",
"OPENCLAW_BUNDLED_PLUGINS_DIR",
"OPENCLAW_DISABLE_BUNDLED_PLUGINS",
] as const;
function resolveWindowsHomeParts(homeDir: string): { homeDrive?: string; homePath?: string } {
@@ -65,6 +66,7 @@ export function createPathResolutionEnv(
OPENCLAW_HOME: undefined,
OPENCLAW_STATE_DIR: undefined,
OPENCLAW_BUNDLED_PLUGINS_DIR: undefined,
OPENCLAW_DISABLE_BUNDLED_PLUGINS: undefined,
};
const windowsHome = resolveWindowsHomeParts(resolvedHome);