Bun

interface

test.default.EventData.TestDiagnostic

interface TestDiagnostic

  • column?: number

    The column number where the test is defined, or undefined if the test was run through the REPL.

  • file?: string

    The path of the test file, undefined if test was run through the REPL.

  • level: 'error' | 'info' | 'warn'

    The severity level of the diagnostic message. Possible values are:

    • 'info': Informational messages.
    • 'warn': Warnings.
    • 'error': Errors.
  • line?: number

    The line number where the test is defined, or undefined if the test was run through the REPL.

  • message: string

    The diagnostic message.

  • nesting: number

    The nesting level of the test.