Interface: CellSnapshotOptions
@termwright/test / CellSnapshotOptions
Interface: CellSnapshotOptions
Section titled “Interface: CellSnapshotOptions”Defined in: test/src/cells.ts:14
Options for serializeScreen.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”attributes?
Section titled “attributes?”
readonlyoptionalattributes?:boolean
Defined in: test/src/cells.ts:16
Append the styled-run legend. Default false.
readonlyoptionalbox?:boolean
Defined in: test/src/cells.ts:18
Draw the frame with the viewport size. Default true.
palette?
Section titled “palette?”
readonlyoptionalpalette?:ColorPalette
Defined in: test/src/cells.ts:22
Names palette colors in the legend, so CI and laptop agree.
trimTrailingRows?
Section titled “trimTrailingRows?”
readonlyoptionaltrimTrailingRows?:boolean
Defined in: test/src/cells.ts:20
Drop empty rows at the bottom of the viewport. Default true.