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

Function assertEventCounts

test/jasmine/tests/sliders_test.js:567–572  ·  view source on GitHub ↗
(starts, interactions, noninteractions, ends, msg)

Source from the content-addressed store, hash-verified

565 });
566
567 function assertEventCounts(starts, interactions, noninteractions, ends, msg) {
568 expect(cntStart).toBe(starts, 'starts: ' + msg);
569 expect(cntInteraction).toBe(interactions, 'interactions: ' + msg);
570 expect(cntNonInteraction).toBe(noninteractions, 'noninteractions: ' + msg);
571 expect(cntEnd).toBe(ends, 'ends: ' + msg);
572 }
573
574 assertEventCounts(0, 0, 0, 0, 'initial');
575

Callers 1

sliders_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…