Fix flakey test (#817)

This commit is contained in:
Luke Tomlinson authored and GitHub committed 2021-05-21 15:32:09 -04:00
1 parent a2e7927d9f
commit 1c02f8b7a9
2 files changed
+3 -1

No files matched your search

+3
View File
@@ -1,5 +1,8 @@
//first half of © character
process.stdout.write(Buffer.from([0xC2]), (err) => {
//write in the callback so that the second byte is sent separately
setTimeout(() => {
process.stdout.write(Buffer.from([0xA9])) //second half of © character
}, 5000)
})
-1
View File
@@ -82,7 +82,6 @@ export async function getExecOutput(
stdout += stdoutDecoder.end()
stderr += stderrDecoder.end()
//return undefined for stdout/stderr if they are empty
return {
exitCode,
stdout,