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

Function _assert

test/jasmine/tests/carpet_test.js:586–589  ·  view source on GitHub ↗
(exp)

Source from the content-addressed store, hash-verified

584 var mock = Lib.extendDeep({}, require('../../image/mocks/scattercarpet.json'));
585
586 function _assert(exp) {
587 expect(d3SelectAll('.point').size())
588 .toBe(exp, 'number of scatter pts on graph');
589 }
590
591 Plotly.newPlot(gd, mock).then(function() {
592 _assert(12);

Callers 1

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