Skip to main content

externalDiffFormatter

Formats text representing expected, received, and unchanged lines of a diff produced by the ErrorFactory, so that they can be presented to a developer in a visually distinctive way.

Implemented by

Index

Methods

externalexpected

  • expected(line: string): string
  • Parameters

    • externalline: string

    Returns string

externalreceived

  • received(line: string): string
  • Parameters

    • externalline: string

    Returns string

externalunchanged

  • unchanged(line: string): string
  • Parameters

    • externalline: string

    Returns string