Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITestDefinition

deprecated

use Mocha.TestFunction instead.

Hierarchy

  • ITestDefinition

Callable

  • __call(expectation: string, callback?: undefined | function): ITest
  • deprecated

    Mocha.TestFunction does not allow mixing done with a return type of PromiseLike<any>.

    Parameters

    • expectation: string
    • Optional callback: undefined | function

    Returns ITest

Index

Methods

Methods

only

  • only(expectation: string, callback?: undefined | function): ITest
  • deprecated

    Mocha.TestFunction#only does not allow mixing done with a return type of PromiseLike<any>.

    Parameters

    • expectation: string
    • Optional callback: undefined | function

    Returns ITest

skip

  • skip(expectation: string, callback?: undefined | function): void
  • deprecated

    Mocha.TestFunction#skip does not allow mixing done with a return type of PromiseLike<any>.

    Parameters

    • expectation: string
    • Optional callback: undefined | function

    Returns void

Generated using TypeDoc