MCPcopy
hub / github.com/plotly/plotly.js / _checkSliceColors

Function _checkSliceColors

test/jasmine/tests/funnelarea_test.js:217–223  ·  view source on GitHub ↗
(colors)

Source from the content-addressed store, hash-verified

215 });
216
217 function _checkSliceColors(colors) {
218 return function() {
219 d3Select(gd).selectAll(SLICES_SELECTOR).each(function(d, i) {
220 expect(this.style.fill.replace(/(\s|rgb\(|\))/g, '')).toBe(colors[i], i);
221 });
222 };
223 }
224
225 function _checkFontColors(expFontColors) {
226 return function() {

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…