@hyperjump/json-schema-coverage
    Preparing search index...

    Class TestCoverageEvaluationPlugin

    The TestCoverageEvaluationPlugin hooks into the evaluation process of the @hyperjump/json-schema validator and uses the CoverageMapService to record when a keyword or schema is visited. Once the evaluation process is completed, it contains an istanbul coverage file. These files can then be used to generate any report that supports istanbul.

    Implements

    • EvaluationPlugin
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    coverage: CoverageMapData

    Methods

    • Parameters

      • keywordNode: Node<unknown>
      • instance: JsonNode
      • context: ValidationContext
      • schemaContext: ValidationContext
      • keyword: any

      Returns void

    • Parameters

      • url: string
      • instance: JsonNode
      • context: ValidationContext

      Returns void