()
| 1701 | |
| 1702 | it('should not crash with skipNull and uneven datasets', function() { |
| 1703 | function unevenChart() { |
| 1704 | window.acquireChart({ |
| 1705 | type: 'bar', |
| 1706 | data: { |
| 1707 | labels: [1, 2], |
| 1708 | datasets: [ |
| 1709 | {data: [1, 2]}, |
| 1710 | {data: [1, 2, 3]}, |
| 1711 | ] |
| 1712 | }, |
| 1713 | options: { |
| 1714 | skipNull: true, |
| 1715 | } |
| 1716 | }); |
| 1717 | } |
| 1718 | |
| 1719 | expect(unevenChart).not.toThrow(); |
| 1720 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected