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

Function check

test/jasmine/tests/smith_test.js:95–102  ·  view source on GitHub ↗
(cnt, expected)

Source from the content-addressed store, hash-verified

93 var fig = Lib.extendDeep({}, basicMock);
94
95 function check(cnt, expected) {
96 var ticks = d3SelectAll('path.imaginaryaxistick');
97
98 expect(ticks.size()).toBe(cnt, '# of ticks');
99 ticks.each(function() {
100 expect(d3Select(this).attr('d')).toBe(expected);
101 });
102 }
103
104 Plotly.newPlot(gd, fig).then(function() {
105 check(0);

Callers 1

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