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

Function assertItemColor

test/jasmine/tests/updatemenus_test.js:863–866  ·  view source on GitHub ↗
(node, color)

Source from the content-addressed store, hash-verified

861 }
862
863 function assertItemColor(node, color) {
864 var rect = node.select('rect');
865 expect(rect.node().style.fill).toEqual(color);
866 }
867
868 function assertItemDims(node, width, height) {
869 var rect = node.select('rect');

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…