Skip to content

Commit 385d539

Browse files
committed
Improve debug logging in integration tests
1 parent c7ed635 commit 385d539

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integration-test.spec.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,13 @@ describe('Integration test', function () {
6969
stdout = "";
7070
stderr = "";
7171

72+
console.log('---');
73+
7274
return new Promise((resolve, reject) => {
7375
serverProcess.stdout!.on('data', (d) => {
7476
if (d.includes('Server started')) resolve();
7577
stdout = stdout + d.toString();
76-
console.log(d.toString());
78+
console.log(d.toString().trimEnd());
7779
});
7880

7981
serverProcess.stderr!.on('data', (d) => {

0 commit comments

Comments
 (0)