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

Function assertNodeCnt

test/jasmine/tests/scatter_test.js:702–705  ·  view source on GitHub ↗
(ptCnt, txCnt)

Source from the content-addressed store, hash-verified

700
701 it('should remove all point and text nodes on blank data', function(done) {
702 function assertNodeCnt(ptCnt, txCnt) {
703 expect(d3SelectAll('.point').size()).toEqual(ptCnt);
704 expect(d3SelectAll('.textpoint').size()).toEqual(txCnt);
705 }
706
707 function assertText(content) {
708 d3SelectAll('.textpoint').each(function(_, i) {

Callers 1

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