CapturedOutput
Captured output from a createCaptureOutput instance.
- Import:
@kjanat/dreamcli/testkit - Export kind: interface
- Declared in:
src/core/output/index.ts - Source link:
packages/dreamcli/src/core/output/index.ts:593
Signatures
ts
interface CapturedOutput {}Members
Properties
activity
Activity events from spinner and progress handles.
Captured separately from stdout/stderr to allow targeted assertions on activity lifecycle without parsing text output. Events are recorded in chronological order.
ts
activity: ActivityEvent[];stderr
Lines written to stderr.
In normal mode: warn and error output. In JSON mode: warn, error, log, and info output.
ts
stderr: string[];stdout
Lines written to stdout.
In normal mode: log, info, and json output. In JSON mode: only json output (log/info redirected to stderr).
ts
stdout: string[];