MCPcopy Index your code
hub / github.com/plotly/plotly.js / assertSelectionNodes

Function assertSelectionNodes

test/jasmine/tests/select_test.js:67–74  ·  view source on GitHub ↗
(cornerCnt, outlineCnt, _msg)

Source from the content-addressed store, hash-verified

65}
66
67function assertSelectionNodes(cornerCnt, outlineCnt, _msg) {
68 var msg = _msg ? ' - ' + _msg : '';
69
70 expect(d3SelectAll('.zoomlayer > .zoombox-corners').size())
71 .toBe(cornerCnt, 'selection corner count' + msg);
72 expect(d3SelectAll('.zoomlayer > .select-outline').size())
73 .toBe(outlineCnt, 'selection outline count' + msg);
74}
75
76var selectingCnt, selectingData, selectedCnt, selectedData, deselectCnt, doubleClickData;
77var selectedPromise, deselectPromise, clickedPromise, relayoutPromise;

Callers 4

resetEventsFunction · 0.85
select_test.jsFile · 0.85
_assertFunction · 0.85
_runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…