Try spawnSync again 2

This commit is contained in:
plondon 2021-10-23 14:28:37 -04:00
parent 653864390c
commit 1868c9461e
1 changed files with 1 additions and 1 deletions

View File

@ -81,6 +81,7 @@ class Test {
}; };
run = async () => { run = async () => {
return "skipped";
if ((this.config.skip || []).includes(this.type)) { if ((this.config.skip || []).includes(this.type)) {
return "skipped"; return "skipped";
} }
@ -190,7 +191,6 @@ class Test {
waitForOutput = async (pattern, maxLength) => { waitForOutput = async (pattern, maxLength) => {
pattern = pattern.replace(/\n/g, "\r\n"); pattern = pattern.replace(/\n/g, "\r\n");
let output = ""; let output = "";
return Promise.resolve(true)
return await this.wait(`output ${JSON.stringify(pattern)}`, (msg) => { return await this.wait(`output ${JSON.stringify(pattern)}`, (msg) => {
const prevLength = output.length; const prevLength = output.length;
if (msg.event === "terminalOutput") { if (msg.event === "terminalOutput") {