Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Variables

Const colors

colors: ColorMap

Let inlineDiffs

inlineDiffs: boolean

Inline diffs instead of +/-

see

https://mochajs.org/api/module-base#.inlineDiffs

Const symbols

symbols: SymbolMap

Let useColors

useColors: boolean

Enables coloring by default

see

https://mochajs.org/api/module-base#.useColors

Const window

window: { width: number }

Expose terminal window size

see

https://mochajs.org/api/module-base#.window

Type declaration

  • width: number

Functions

color

  • color(type: string, str: string): string

generateDiff

  • generateDiff(actual: string, expected: string): string

list

  • list(failures: Test[]): void