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

Function assertDrawCall

test/jasmine/tests/scattergl_test.js:136–140  ·  view source on GitHub ↗
(msg, exp)

Source from the content-addressed store, hash-verified

134 _mock.data[0].line.width = 5;
135
136 function assertDrawCall(msg, exp) {
137 var draw = gd._fullLayout._plots.xy._scene.scatter2d.draw;
138 expect(draw).toHaveBeenCalledTimes(exp, msg);
139 draw.calls.reset();
140 }
141
142 Plotly.newPlot(gd, _mock)
143 .then(delay(30))

Callers 1

scattergl_test.jsFile · 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…