Bun

interface

test.default.EventData.TestPass

interface TestPass

  • column?: number

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

  • details: { duration_ms: number; type: 'suite' }

    Additional execution metadata.

  • file?: string

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

  • line?: number

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

  • name: string

    The test name.

  • nesting: number

    The nesting level of the test.

  • skip?: string | boolean

    Present if context.skip is called.

  • testNumber: number

    The ordinal number of the test.

  • todo?: string | boolean

    Present if context.todo is called.