Options
All
  • Public
  • Public/Protected
  • All
Menu

Module reporters

Index

Variables

Const base

base: Base

Const colors

colors: ColorMap

Const doc

doc: Doc

Const dot

dot: Dot

Const html

html: HTML

Let inlineDiffs

inlineDiffs: boolean

Inline diffs instead of +/-

see

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

Const json

json: JSON

Const landing

landing: Landing

Const markdown

markdown: Markdown

Const nyan

nyan: Nyan

Const progress

progress: Progress

Const spec

spec: Spec

Const symbols

symbols: SymbolMap

Const tap

tap: TAP

Let useColors

useColors: boolean

Enables coloring by default

see

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

Const window

window: object

Expose terminal window size

see

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

Type declaration

  • width: number

Const xunit

xunit: XUnit

Functions

color

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

generateDiff

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

Const list

  • list(failures: Test[]): void

Generated using TypeDoc