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

Function _assertZoombox

test/jasmine/tests/cartesian_interact_test.js:1698–1707  ·  view source on GitHub ↗
(msg, exp)

Source from the content-addressed store, hash-verified

1696
1697 describe('redrag behavior', function() {
1698 function _assertZoombox(msg, exp) {
1699 var gd3 = d3Select(gd);
1700 var zb = gd3.select('g.zoomlayer').select('.zoombox-corners');
1701
1702 if(zb.size()) {
1703 expect(zb.attr('d')).toBe(exp.zoombox, msg + '| zoombox path');
1704 } else {
1705 expect(false).toBe(exp.zoombox, msg + '| no zoombox');
1706 }
1707 }
1708
1709 function _assertClipRect(msg, exp) {
1710 var gd3 = d3Select(gd);

Callers 1

_assertFunction · 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…