Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MockReport

Index a collection of reported MockSpans in a way that's easy to run unit test assertions against.

Hierarchy

  • MockReport

Index

Constructors

constructor

Properties

Private debugSpans

debugSpans: DebugInfo[]

spans

spans: MockSpan[]

Private spansByTag

spansByTag: object

Type declaration

  • [key: string]: object

Private spansByUUID

spansByUUID: object

Type declaration

Private unfinishedSpans

unfinishedSpans: MockSpan[]

Methods

firstSpanWithTagValue

  • firstSpanWithTagValue(key: string, val: any): MockSpan | null

Generated using TypeDoc