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

Function _assertTitle

test/jasmine/tests/funnelarea_test.js:521–525  ·  view source on GitHub ↗
(msg, expText, expColor)

Source from the content-addressed store, hash-verified

519 });
520
521 function _assertTitle(msg, expText, expColor) {
522 var title = d3Select('.titletext > text');
523 expect(title.text()).toBe(expText, msg + ' text');
524 expect(title.node().style.fill).toBe(expColor, msg + ' color');
525 }
526
527 it('show a user-defined title with a custom position and font', function(done) {
528 Plotly.newPlot(gd, [{

Callers 1

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