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

Function checkTitles

test/jasmine/tests/ternary_test.js:70–74  ·  view source on GitHub ↗
(cnt)

Source from the content-addressed store, hash-verified

68
69 it('should be able to delete and add traces', function(done) {
70 function checkTitles(cnt) {
71 expect(d3SelectAll('.g-atitle').size()).toBe(cnt, 'aaxis title');
72 expect(d3SelectAll('.g-btitle').size()).toBe(cnt, 'baxis title');
73 expect(d3SelectAll('.g-ctitle').size()).toBe(cnt, 'caxis title');
74 }
75
76 expect(countTernarySubplot()).toEqual(1);
77 expect(countTraces('scatter')).toEqual(1);

Callers 1

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