(exp)
| 384 | gd.style.height = '150px'; |
| 385 | |
| 386 | function _assert(exp) { |
| 387 | var margin = gd._fullLayout.margin || {}; |
| 388 | for(var k in exp) { |
| 389 | expect(margin[k]).toBe(exp[k], ' - margin.' + k); |
| 390 | } |
| 391 | } |
| 392 | |
| 393 | Plotly.newPlot(gd, [], {}) |
| 394 | .then(function() { _assert({l: 74, r: 74, t: 82, b: 66}); }) |
no outgoing calls
no test coverage detected
searching dependent graphs…