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

Function assertTextFontFamilies

test/jasmine/tests/bar_test.js:1262–1270  ·  view source on GitHub ↗
(expFontFamilies)

Source from the content-addressed store, hash-verified

1260 }
1261
1262 function assertTextFontFamilies(expFontFamilies) {
1263 return function() {
1264 var selection = d3SelectAll(BAR_TEXT_SELECTOR);
1265 expect(selection.size()).toBe(expFontFamilies.length);
1266 selection.each(function(d, i) {
1267 expect(this.style.fontFamily).toBe(expFontFamilies[i]);
1268 });
1269 };
1270 }
1271
1272 function assertTextFontSizes(expFontSizes) {
1273 return function() {

Callers 3

bar_test.jsFile · 0.85
assertSelectionModeStyleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…