Options
All
  • Public
  • Public/Protected
  • All
Menu

Initialize a new NyanCat test reporter.

see

https://mochajs.org/api/Mocha.reporters.Nyan.html

Hierarchy

Index

Constructors

constructor

Properties

Private appendRainbow

appendRainbow: any

Private colorIndex

colorIndex: any

Private cursorDown

cursorDown: any

Private cursorUp

cursorUp: any

Private draw

draw: any

Private drawNyanCat

drawNyanCat: any

Private drawRainbow

drawRainbow: any

Private drawScoreboard

drawScoreboard: any

Private face

face: any

failures

failures: Test[]

Test failures

Private generateColors

generateColors: any

Private numberOfLines

numberOfLines: any

Private rainbowColors

rainbowColors: any

Private rainbowify

rainbowify: any

runner

runner: Runner

The configured runner

Private scoreboardWidth

scoreboardWidth: any

stats

stats: Stats

Test run statistics

Private tick

tick: any

Private trajectories

trajectories: any

Private trajectoryWidthMax

trajectoryWidthMax: any

Methods

Optional done

  • done(failures: number, fn?: (failures: number) => void): void
  • Parameters

    • failures: number
    • Optional fn: (failures: number) => void
        • (failures: number): void
        • Parameters

          • failures: number

          Returns void

    Returns void

epilogue

  • epilogue(): void