Skip to content

Commit

Permalink
Fix tests by ignoring stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
azat-ismagilov committed Jul 31, 2023
1 parent fc79790 commit 3ce4a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/capture.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ for (const [index, contestConfig] of contestConfigs.entries()) {
"artifacts/live-v3-dev.jar",
`-port=${port}`,
"-P:auth.disabled=true",
`-P:live.configDirectory=${contestConfig}`]);
`-P:live.configDirectory=${contestConfig}`], {stdio: ['ignore', 'ignore', 'pipe']});

childProcess.stderr.on("data", (data) => {
console.error(`Child process stderr: ${data}`);
Expand Down Expand Up @@ -61,7 +61,7 @@ for (const [index, contestConfig] of contestConfigs.entries()) {
await contestOver;
contestInfo.close();

await page.goto("/overlay");
await page.goto(baseURL + "/overlay");

for (const widgetName of simpleWidgets) {
const showWidget = await adminApiContext.post(`./${widgetName}/show`);
Expand Down

0 comments on commit 3ce4a86

Please sign in to comment.