Skip to main content

Home > @jsplumb/test > BrowserUITestSupport > assertManagedConnectionCount

BrowserUITestSupport.assertManagedConnectionCount() method#

Asserts that the number of connections registered for a given element matches an expectation.

Signature:

assertManagedConnectionCount(el: Element, count: number): void;

Parameters#

ParameterTypeDescription
elElementElement to assert connection count for
countnumberExpected number of connections

Returns:

void