@brillout/test-e2e 0.5.32 → 0.5.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -43,7 +43,7 @@ function runCommandLongRunning({ cmd, cwd, killPort, isReadyLog, isReadyTimeout,
|
|
|
43
43
|
command = command + '.cmd';
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
const proc = spawn(command, args, { cwd, detached, ...nodeWorkaround });
|
|
46
|
+
const proc = spawn(command, args, { cwd, detached, ...nodeWorkaround() });
|
|
47
47
|
let procExited = false;
|
|
48
48
|
proc.stdin.on('data', async (chunk) => {
|
|
49
49
|
const data = String(chunk);
|
|
@@ -225,15 +225,11 @@ async function killByPort(port) {
|
|
|
225
225
|
function isSuccessCode(code) {
|
|
226
226
|
return code === 0 || code === null || (code === 1 && isWindows());
|
|
227
227
|
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
//*/
|
|
228
|
+
// Workaround for Node.js regression:
|
|
229
|
+
// - https://github.com/nodejs/node/issues/52475
|
|
230
|
+
// - https://github.com/prebuild/prebuildify/issues/83#issuecomment-2056607495
|
|
232
231
|
function nodeWorkaround() {
|
|
233
232
|
if (isWindows()) {
|
|
234
|
-
// Workaround for Node.js regression:
|
|
235
|
-
// - https://github.com/nodejs/node/issues/52475
|
|
236
|
-
// - https://github.com/prebuild/prebuildify/issues/83#issuecomment-2056607495
|
|
237
233
|
return { shell: true };
|
|
238
234
|
}
|
|
239
235
|
else {
|