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

Function assertTspanStyle

test/jasmine/tests/svg_text_utils_test.js:42–45  ·  view source on GitHub ↗
(node, style, msg)

Source from the content-addressed store, hash-verified

40 }
41
42 function assertTspanStyle(node, style, msg) {
43 var tspan = node.select('tspan');
44 expect(tspan.attr('style')).toBe(style, msg);
45 }
46
47 function assertAnchorAttrs(node, expectedAttrs, msg) {
48 var a = node.select('a');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…