diff --git a/packages/cli/src/test-utils/render.tsx b/packages/cli/src/test-utils/render.tsx index 2263914e43..3ad800654b 100644 --- a/packages/cli/src/test-utils/render.tsx +++ b/packages/cli/src/test-utils/render.tsx @@ -136,6 +136,7 @@ class XtermStdout extends EventEmitter { } write = (data: string) => { + console.log(`[XtermStdout.write] data: ${JSON.stringify(data)}`); this.pendingWrites++; this.queue.promise = this.queue.promise.then(async () => { await new Promise((resolve) => @@ -244,6 +245,7 @@ class XtermStdout extends EventEmitter { const currentFrame = stripAnsi( this.lastFrame({ allowEmpty: true }), ).trim(); + console.log(`[waitUntilReady] currentFrame: ${JSON.stringify(currentFrame)}`); const expectedFrame = this.normalizeFrame( stripAnsi( (this.lastRenderStaticContent ?? '') + (this.lastRenderOutput ?? ''),