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

Function assertCnt

test/jasmine/tests/ternary_test.js:426–429  ·  view source on GitHub ↗
(selector, expected, msg)

Source from the content-addressed store, hash-verified

424 var fig = Lib.extendDeep({}, require('../../image/mocks/ternary_simple.json'));
425
426 function assertCnt(selector, expected, msg) {
427 var sel = d3Select(gd).selectAll(selector);
428 expect(sel.size()).toBe(expected, msg);
429 }
430
431 function toggle(selector, astr, vals, exps) {
432 return function() {

Callers 1

toggleFunction · 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…