test: avoid postinstall fixture installs

This commit is contained in:
Peter Steinberger
2026-04-17 04:10:43 +01:00
parent a2f2e5738e
commit c6af0437c9
2 changed files with 33 additions and 27 deletions

View File

@@ -660,8 +660,8 @@ function shouldRunBundledPluginPostinstall(params) {
export function runBundledPluginPostinstall(params = {}) {
const env = params.env ?? process.env;
const extensionsDir = params.extensionsDir ?? DEFAULT_EXTENSIONS_DIR;
const packageRoot = params.packageRoot ?? DEFAULT_PACKAGE_ROOT;
const extensionsDir = params.extensionsDir ?? join(packageRoot, "dist", "extensions");
const spawn = params.spawnSync ?? spawnSync;
const pathExists = params.existsSync ?? existsSync;
const log = params.log ?? console;