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

Function assertLabelContent

test/jasmine/assets/custom_assertions.js:83–89  ·  view source on GitHub ↗
(label, expectation, msg)

Source from the content-addressed store, hash-verified

81}
82
83function assertLabelContent(label, expectation, msg) {
84 if(!expectation) expectation = '';
85
86 var content = getLabelContent(label);
87
88 expect(content).toBe(expectation, msg + ': text content');
89}
90
91function count(selector) {
92 return d3SelectAll(selector).size();

Callers 1

Calls 1

getLabelContentFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…