pull/3262/head^2
filip mertens 2 years ago committed by Aniket
parent 11ba0b2671
commit 4c86ee8d0e
  1. 9
      apps/remix-ide-e2e/src/tests/remixd.test.ts

@ -316,13 +316,16 @@ async function spawnRemixd(path: string) {
return new Promise((resolve) => {
remixd.stdout.on('data', function (data) {
console.log('stdout: ' + data.toString())
if(
data.toString().includes('foundry is listening')
|| data.toString().includes('There is already a client running')
) {
resolve(true)
}
})
remixd.stderr.on('err', function (data) {
console.log('err: ' + data.toString())
})
remixd.on("exit", (code) => {
resolve(code);
});
})
}

Loading…
Cancel
Save