Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Commit

Permalink
fix(tests): forward stdout of test node to console
Browse files Browse the repository at this point in the history
We forward the `stdout` of nodes started by the tests to the terminal
that cypress runs on. This ensures that it is visible.

Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
  • Loading branch information
geigerzaehler committed Jul 20, 2021
1 parent 91f5482 commit 044ebfa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cypress/plugins/nodeManager/plugin.ts
Expand Up @@ -146,7 +146,10 @@ class Node {
"--skip-remote-helper-install",
"--unsafe-fast-keystore",
],
{ env: { ...global.process.env, RAD_HOME: this.radHome } }
{
env: { ...global.process.env, RAD_HOME: this.radHome },
stdio: ["ignore", "inherit", "pipe"],
}
);

process.on("exit", async () => {
Expand Down

0 comments on commit 044ebfa

Please sign in to comment.