Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITest

deprecated

use Mocha.Test instead.

Hierarchy

Index

Properties

async

async: boolean

Optional body

body: undefined | string

Optional duration

duration: undefined | number

Optional file

file: undefined | string

fn

fn: Function | undefined
deprecated

.fn has type Func | AsyncFunc in Mocha.Runnable.

Optional parent

parent: ISuite
deprecated

.parent has type Mocha.Suite | undefined in Mocha.Test.

pending

pending: boolean

Optional state

state: "failed" | "passed"

sync

sync: boolean

timedOut

timedOut: boolean

title

title: string

type

type: "test"

Methods

fullTitle

  • fullTitle(): string
  • Returns string

timeout

  • timeout(n: number | string): this
  • deprecated

    .timeout() has additional overloads in Mocha.Runnable.

    Parameters

    • n: number | string

    Returns this

Generated using TypeDoc