Documentation / listr2 / TestRenderer
Class: TestRenderer
The definition of a ListrRenderer.
See
https://listr2.kilic.dev/renderer/renderer.html
Implements
Constructors
new TestRenderer()
new TestRenderer(
tasks
,options
):TestRenderer
Parameters
• tasks: ListrTestRendererTask
[]
• options: ListrTestRendererOptions
Returns
Defined in
packages/listr2/src/renderer/test/renderer.ts:43
Properties
nonTTY
static
nonTTY:boolean
=true
designate whether this renderer can work in non-tty environments
Implementation of
Defined in
packages/listr2/src/renderer/test/renderer.ts:8
rendererOptions
static
rendererOptions:ListrTestRendererOptions
designate renderer global options that is specific to the current renderer
Implementation of
Defined in
packages/listr2/src/renderer/test/renderer.ts:9
rendererTaskOptions
static
rendererTaskOptions:never
designate renderer per task options that is specific to the current renderer
Implementation of
ListrRenderer
.rendererTaskOptions
Defined in
packages/listr2/src/renderer/test/renderer.ts:38
Methods
render()
render():
void
A function to what to do on render
Returns
void
Implementation of
Defined in
packages/listr2/src/renderer/test/renderer.ts:54
end()
end():
void
A function to what to do on end of the render
Returns
void
Implementation of
Defined in
packages/listr2/src/renderer/test/renderer.ts:59