(scene, msg)
| 218 | |
| 219 | it('@gl should clear error bars when toggling traces with mixed error bars', function(done) { |
| 220 | function assertNoStaleErrorGroups(scene, msg) { |
| 221 | scene.error2d.groups.forEach(function(group, i) { |
| 222 | var hasSceneOptions = i < scene.count ? |
| 223 | scene.errorXOptions[i] : |
| 224 | scene.errorYOptions[i - scene.count]; |
| 225 | |
| 226 | if(!hasSceneOptions && group) { |
| 227 | expect(group.count).toBe(0, msg + ': group ' + i); |
| 228 | } |
| 229 | }); |
| 230 | } |
| 231 | |
| 232 | function assertVisibleErrorBars(msg, exp) { |
| 233 | var scene = gd._fullLayout._plots.xy._scene; |
no outgoing calls
no test coverage detected
searching dependent graphs…