Documentation / listr2 / ListrTestRendererOptions
Interface: ListrTestRendererOptions
Extends
Properties
subtasks?
optional
subtasks:boolean
Log subtasks.
Default Value
true
Defined in
packages/listr2/src/renderer/test/renderer.interface.ts:15
state?
optional
state:ListrTaskState
[]
Log given task states.
Defined in
packages/listr2/src/renderer/test/renderer.interface.ts:19
output?
optional
output:boolean
Log output.
Defined in
packages/listr2/src/renderer/test/renderer.interface.ts:23
prompt?
optional
prompt:boolean
Log prompt.
Defined in
packages/listr2/src/renderer/test/renderer.interface.ts:27
title?
optional
title:boolean
Log title changes.
Defined in
packages/listr2/src/renderer/test/renderer.interface.ts:31
messages?
optional
messages: keyofListrTaskMessage
[]
Log given messages.
Defined in
packages/listr2/src/renderer/test/renderer.interface.ts:35
messagesToStderr?
optional
messagesToStderr: keyofListrTaskMessage
[]
Log given messages to stderr instead of stdout.
Defined in
packages/listr2/src/renderer/test/renderer.interface.ts:39
task?
optional
task:false
|TestRendererSerializerTaskKeys
[]
Serialize the given properties of the task inside the logs.
Defined in
packages/listr2/src/renderer/test/renderer.interface.ts:43
logger?
optional
logger:ListrLogger
<ListrLogLevels
>
Inject your custom implementation of the ListrLogger.
See
https://listr2.kilic.dev/renderer/logger.html
Inherited from
Defined in
packages/listr2/src/utils/logger/logger.interface.ts:82