Skip to main content

Home > @jsplumb/test > BrowserUITestSupport > assertManagedEndpointCount

BrowserUITestSupport.assertManagedEndpointCount() method#

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

Signature:

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

Parameters#

ParameterTypeDescription
elElementElement to assert endpoint count for
countnumberExpected number of endpoints

Returns:

void