Try spawnSync again 2
This commit is contained in:
parent
653864390c
commit
1868c9461e
|
@ -81,6 +81,7 @@ class Test {
|
|||
};
|
||||
|
||||
run = async () => {
|
||||
return "skipped";
|
||||
if ((this.config.skip || []).includes(this.type)) {
|
||||
return "skipped";
|
||||
}
|
||||
|
@ -190,7 +191,6 @@ 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