Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LightReport

Hierarchy

Constructors

constructor

  • new LightReport(__namedParameters: object): LightReport

Properties

Private configuration

configuration: Configuration

Private errorCount

errorCount: number = 0

Private stdout

stdout: Writable

Private suggestInstall

suggestInstall: boolean

Methods

createStreamReporter

  • createStreamReporter(prefix?: string | null): PassThrough

exitCode

  • exitCode(): 0 | 1

finalize

  • finalize(): Promise<void>

Private formatNameWithHyperlink

  • formatNameWithHyperlink(name: MessageName | null): string

hasErrors

  • hasErrors(): boolean

reportCacheHit

  • reportCacheHit(locator: Locator): void

reportCacheMiss

  • reportCacheMiss(locator: Locator): void

reportError

reportErrorOnce

  • reportErrorOnce(name: MessageName, text: string, opts?: undefined | object): void

reportExceptionOnce

reportInfo

  • reportInfo(name: MessageName | null, text: string): void

reportInfoOnce

  • reportInfoOnce(name: MessageName, text: string, opts?: undefined | object): void

reportJson

  • reportJson(data: any): void

reportProgress

  • reportProgress(progress: AsyncIterable<object>): object

reportSeparator

  • reportSeparator(): void

reportWarning

reportWarningOnce

  • reportWarningOnce(name: MessageName, text: string, opts?: undefined | object): void

startCacheReport

  • startCacheReport<T>(cb: function): Promise<T>

startProgressPromise

  • startProgressPromise<T, P>(progressIt: P, cb: function): Promise<T>

startProgressSync

  • startProgressSync<T, P>(progressIt: P, cb: function): T

startSectionPromise

  • startSectionPromise<T>(opts: SectionOptions, cb: function): Promise<T>

startSectionSync

startTimerPromise

  • startTimerPromise<T>(what: string, opts: TimerOptions, cb: function): Promise<T>
  • startTimerPromise<T>(what: string, cb: function): Promise<T>

startTimerSync

  • startTimerSync<T>(what: string, opts: TimerOptions, cb: function): T
  • startTimerSync<T>(what: string, cb: function): T

Static progressViaCounter

  • progressViaCounter(max: number): object

Static progressViaTitle

  • progressViaTitle(): object

Static start

Generated using TypeDoc