interface

test.default.EventData.TestPlan

interface TestPlan

  • column?: number

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

  • count: number

    The number of subtests that have ran.

  • entryFile?: string

    The path of the test file that was executed as the entry point of the child process that emitted this event. Only present when tests run with process isolation. May differ from file when the test is defined in a module imported by the entry file.

  • 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.

  • nesting: number

    The nesting level of the test.