Try spawnSync again 1
This commit is contained in:
parent
f7922ef9e1
commit
653864390c
|
@ -190,6 +190,7 @@ class Test {
|
|||
waitForOutput = async (pattern, maxLength) => {
|
||||
pattern = pattern.replace(/\n/g, "\r\n");
|
||||
let output = "";
|
||||
return Promise.resolve(true)
|
||||
return await this.wait(`output ${JSON.stringify(pattern)}`, (msg) => {
|
||||
const prevLength = output.length;
|
||||
if (msg.event === "terminalOutput") {
|
||||
|
|
Loading…
Reference in New Issue