Skip to content

Interface: CellSnapshotOptions

@termwright/test


@termwright/test / CellSnapshotOptions

Defined in: test/src/cells.ts:14

Options for serializeScreen.

readonly optional attributes?: boolean

Defined in: test/src/cells.ts:16

Append the styled-run legend. Default false.


readonly optional box?: boolean

Defined in: test/src/cells.ts:18

Draw the frame with the viewport size. Default true.


readonly optional palette?: ColorPalette

Defined in: test/src/cells.ts:22

Names palette colors in the legend, so CI and laptop agree.


readonly optional trimTrailingRows?: boolean

Defined in: test/src/cells.ts:20

Drop empty rows at the bottom of the viewport. Default true.