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

Function _assert

test/jasmine/tests/histogram2d_test.js:255–264  ·  view source on GitHub ↗
(xBinsFull, yBinsFull, xBins, yBins)

Source from the content-addressed store, hash-verified

253 });
254
255 function _assert(xBinsFull, yBinsFull, xBins, yBins) {
256 expect(gd._fullData[0].xbins).toEqual(xBinsFull);
257 expect(gd._fullData[0].ybins).toEqual(yBinsFull);
258 expect(gd._fullData[0].autobinx).toBeUndefined();
259 expect(gd._fullData[0].autobiny).toBeUndefined();
260 expect(gd.data[0].xbins).toEqual(xBins);
261 expect(gd.data[0].ybins).toEqual(yBins);
262 expect(gd.data[0].autobinx).toBeUndefined();
263 expect(gd.data[0].autobiny).toBeUndefined();
264 }
265
266 it('handles autobin correctly on restyles', function(done) {
267 var x1 = [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…