(names, autorange, rng)
| 1162 | expect(layoutOut._axisMatchGroups).toContain({x4: 1, y4: 1}); |
| 1163 | |
| 1164 | function _assertMatchingAxes(names, autorange, rng) { |
| 1165 | names.forEach(function(n) { |
| 1166 | var ax = layoutOut[n]; |
| 1167 | expect(ax.autorange).toBe(autorange, n); |
| 1168 | expect(ax.range[0]).toBe(rng[0], n); |
| 1169 | expect(ax.range[1]).toBe(rng[1], n); |
| 1170 | }); |
| 1171 | } |
| 1172 | |
| 1173 | _assertMatchingAxes(['xaxis', 'xaxis2'], true, [-1, 6]); |
| 1174 | _assertMatchingAxes(['yaxis', 'yaxis2'], false, [0, 1]); |
no outgoing calls
no test coverage detected
searching dependent graphs…