()
| 3118 | }); |
| 3119 | |
| 3120 | function acquirePointChart() { |
| 3121 | return acquireChart({ |
| 3122 | type: 'line', |
| 3123 | data: { |
| 3124 | labels: ['a', 'b', 'c'], |
| 3125 | datasets: [{data: [1, 2, 3], pointRadius: 3, pointHoverRadius: 8}] |
| 3126 | }, |
| 3127 | options: { |
| 3128 | interaction: {mode: 'nearest', intersect: false} |
| 3129 | } |
| 3130 | }); |
| 3131 | } |
| 3132 | |
| 3133 | it('should not leave the hover options on a hovered point of a hidden dataset', async function() { |
| 3134 | const chart = acquirePointChart(); |
no outgoing calls
no test coverage detected