Skip to content

ResultAssertionsBuilder🔗

Constructor🔗

new ResultAssertionsBuilder()

Methods🔗

build🔗

Builds the object.

build()

maxFrames🔗

Maximum frame count

maxFrames(maxFrames: number)

type🔗

Type asserts that the frame matches a known type structure.

Possible enum values:

  • ""

  • "timeseries-wide"

  • "timeseries-long"

  • "timeseries-many"

  • "timeseries-multi"

  • "directory-listing"

  • "table"

  • "numeric-wide"

  • "numeric-multi"

  • "numeric-long"

  • "log-lines"

type(type: prometheus.ResultAssertionsType)

typeVersion🔗

TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane

contract documentation https://grafana.github.io/dataplane/contract/.

typeVersion(typeVersion: number[])

See also🔗