Skip to content

Commit 8ca1695

Browse files
committed
cleanup
1 parent 717441f commit 8ca1695

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tests/smoke/run/run-script.test.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const ensureStreams = (name: string, script: string, stdout: string, stderr: str
1919
"run",
2020
basename(script),
2121
],
22+
// disable logging here to allow for checking the output
2223
env: {
2324
"QUARTO_LOG_LEVEL": "CRITICAL",
2425
}
@@ -29,16 +30,6 @@ const ensureStreams = (name: string, script: string, stdout: string, stderr: str
2930
true
3031
);
3132
assert(result.success);
32-
// strip debugging output since this might run
33-
// in our CI with debugging enabled
34-
console.log("<<<Debugging>>>")
35-
console.log(JSON.stringify({
36-
stdout: lines(result.stdout ?? ""),
37-
stderr: lines(result.stderr ?? "")
38-
}, null, 2));
39-
// stdout = lines(result.stdout ?? "").filter((line: string) => !line.match("[execProcess]")).join(EOL);
40-
// stderr = lines(result.stderr ?? "").filter((line: string) => !line.match("[execProcess]")).join(EOL);
41-
4233
assertEquals(result.stdout, stdout);
4334
assertEquals(result.stderr, stderr);
4435
},

0 commit comments

Comments
 (0)