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

Function assertEventCnt

test/jasmine/tests/polar_test.js:712–722  ·  view source on GitHub ↗
(expected, msg)

Source from the content-addressed store, hash-verified

710 }
711
712 function assertEventCnt(expected, msg) {
713 eventNames.forEach(function(k) {
714 var m = msg + ' event cnt for ' + k;
715
716 if(k in expected) {
717 expect(eventCnts[k]).toBe(expected[k], m);
718 } else {
719 expect(eventCnts[k]).toBe(0, m);
720 }
721 });
722 }
723
724 function _hover(pos) {
725 eventData = '';

Callers 2

_assertFunction · 0.70
polar_test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…