Interface: CellSnapshotMatcherOptions
@termwright/test / CellSnapshotMatcherOptions
Interface: CellSnapshotMatcherOptions
Section titled “Interface: CellSnapshotMatcherOptions”Defined in: test/src/matchers.ts:71
Options for TermwrightMatchers.toMatchCellSnapshot.
Extends
Section titled “Extends”Properties
Section titled “Properties”attributes?
Section titled “attributes?”
readonlyoptionalattributes?:boolean
Defined in: test/src/cells.ts:16
Append the styled-run legend. Default false.
Inherited from
Section titled “Inherited from”CellSnapshotOptions.attributes
readonlyoptionalbox?:boolean
Defined in: test/src/cells.ts:18
Draw the frame with the viewport size. Default true.
Inherited from
Section titled “Inherited from”palette?
Section titled “palette?”
readonlyoptionalpalette?:ColorPalette
Defined in: test/src/cells.ts:22
Names palette colors in the legend, so CI and laptop agree.
Inherited from
Section titled “Inherited from”timeout?
Section titled “timeout?”
readonlyoptionaltimeout?:number
Defined in: test/src/matchers.ts:57
Milliseconds to keep re-probing. Defaults to the expect timeout class.
Inherited from
Section titled “Inherited from”trimTrailingRows?
Section titled “trimTrailingRows?”
readonlyoptionaltrimTrailingRows?:boolean
Defined in: test/src/cells.ts:20
Drop empty rows at the bottom of the viewport. Default true.