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

Function _assert

test/jasmine/tests/funnelarea_test.js:601–606  ·  view source on GitHub ↗
(msg, exp)

Source from the content-addressed store, hash-verified

599 var mock = Lib.extendDeep({}, require('../../image/mocks/funnelarea_title_multiple.json'));
600
601 function _assert(msg, exp) {
602 return function() {
603 var layer = d3Select(gd).select('.funnelarealayer');
604 expect(layer.selectAll('.trace').size()).toBe(exp, msg);
605 };
606 }
607
608 Plotly.newPlot(gd, mock)
609 .then(_assert('base', 4))

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…