Function test

  • Create a test with title and callback function for asserts, such as: ok, is, not, throws.

    Parameters

    • name: string

      Title of test

    • run: (() => void | Promise<any>)

      Test function with asserts

    Returns void

Generated using TypeDoc