diff --git a/tests/examples/examples.test.ts b/tests/examples/examples.test.ts index 4f088da53..de4758a4c 100644 --- a/tests/examples/examples.test.ts +++ b/tests/examples/examples.test.ts @@ -30,6 +30,14 @@ async function test(cmd: string, path: string, args: string[] = [], timeout = 36 let error = ""; const timeoutId = setTimeout(() => { error = `Test timeout was reached after ${timeout} seconds.`; + console.log({ + error, + connected: spawnedExample.connected, + code: spawnedExample.exitCode, + signal: spawnedExample.signalCode, + pid: spawnedExample.pid, + eventNames: spawnedExample.eventNames(), + }); spawnedExample.kill(); }, timeout * 1000); return new Promise((res, rej) => {