Compare commits

...

2 Commits

Author SHA1 Message Date
Max Kless 54fa63c931 fix(core): fix test 2024-10-16 11:25:34 +02:00
Max Kless 43d01c3426 fix(core): remove windowsHide from executor calls where we need the ctrl + c handler 2024-10-15 19:58:39 +02:00
6 changed files with 0 additions and 13 deletions
@@ -128,7 +128,6 @@ Please update the local dependency on "${depName}" to be a valid semantic versio
env: processEnv(true),
cwd: context.root,
stdio: ['ignore', 'pipe', 'pipe'],
windowsHide: true,
});
const resultJson = JSON.parse(result.toString());
@@ -154,7 +153,6 @@ Please update the local dependency on "${depName}" to be a valid semantic versio
env: processEnv(true),
cwd: context.root,
stdio: 'ignore',
windowsHide: true,
});
console.log(
`Added the dist-tag ${tag} to v${currentVersion} for registry ${registry}.\n`
@@ -269,7 +267,6 @@ Please update the local dependency on "${depName}" to be a valid semantic versio
env: processEnv(true),
cwd: context.root,
stdio: ['ignore', 'pipe', 'pipe'],
windowsHide: true,
});
/**
@@ -572,7 +572,6 @@ describe('Run Commands', () => {
...process.env,
...env(),
},
windowsHide: true,
});
expect(exec).toHaveBeenNthCalledWith(2, `echo 'Hello Universe'`, {
maxBuffer: LARGE_BUFFER,
@@ -580,7 +579,6 @@ describe('Run Commands', () => {
...process.env,
...env(),
},
windowsHide: true,
});
});
@@ -603,7 +601,6 @@ describe('Run Commands', () => {
...process.env,
...env(),
},
windowsHide: true,
});
expect(exec).toHaveBeenNthCalledWith(2, `echo 'Hello Universe'`, {
maxBuffer: LARGE_BUFFER,
@@ -611,7 +608,6 @@ describe('Run Commands', () => {
...process.env,
...env(),
},
windowsHide: true,
});
});
@@ -631,12 +627,10 @@ describe('Run Commands', () => {
expect(exec).toHaveBeenNthCalledWith(1, `echo 'Hello World'`, {
maxBuffer: LARGE_BUFFER,
env: { ...process.env, FORCE_COLOR: `true`, ...env() },
windowsHide: true,
});
expect(exec).toHaveBeenNthCalledWith(2, `echo 'Hello Universe'`, {
maxBuffer: LARGE_BUFFER,
env: { ...process.env, FORCE_COLOR: `true`, ...env() },
windowsHide: true,
});
});
});
@@ -392,7 +392,6 @@ function nodeProcess(
maxBuffer: LARGE_BUFFER,
env,
cwd,
windowsHide: true,
});
childProcesses.add(childProcess);
@@ -54,7 +54,6 @@ function nodeProcess(
stdio: ['inherit', 'inherit', 'inherit'],
cwd,
env,
windowsHide: true,
});
}
@@ -81,7 +81,6 @@ export async function playwrightExecutor(
execSync(`${pmc.exec} playwright install`, {
cwd: workspaceRoot,
stdio: 'inherit',
windowsHide: true,
});
}
@@ -172,7 +172,6 @@ export default async function* fileServerExecutor(
execFileSync(pmCmd, args, {
stdio: [0, 1, 2],
shell: true,
windowsHide: true,
});
} catch {
throw new Error(