Function createTestSupportInstance

  • Create an instance of BrowserUITestSupport, using the given functions for testing boolean and equality.

    Parameters

    • instance: BrowserJsPlumbInstance

      The JsPlumb instance to attach to.

    • ok: ((b: boolean, msg: string) => any)

      A function that tests a boolean.

        • (b, msg): any
        • Parameters

          • b: boolean
          • msg: string

          Returns any

    • equal: ((v1: any, v2: any, m?: string) => any)

      A function that tests for equality.

        • (v1, v2, m?): any
        • Parameters

          • v1: any
          • v2: any
          • Optionalm: string

          Returns any

    Returns BrowserUITestSupport

Version :