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

Function _assertOne

test/jasmine/tests/box_test.js:1116–1119  ·  view source on GitHub ↗
(msg, exp, trace3, k, query)

Source from the content-addressed store, hash-verified

1114 delete fig.data[0].boxpoints;
1115
1116 function _assertOne(msg, exp, trace3, k, query) {
1117 expect(trace3.selectAll(query).size())
1118 .toBe(exp[k] || 0, k + ' - ' + msg);
1119 }
1120
1121 function _assert(msg, exp) {
1122 var trace3 = d3Select(gd).select('.boxlayer > .trace');

Callers 1

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