()
| 483 | |
| 484 | it('should create the chart with custom scale ids without axis or position options', function() { |
| 485 | function createChart() { |
| 486 | return window.acquireChart({ |
| 487 | type: 'scatter', |
| 488 | data: { |
| 489 | datasets: [{ |
| 490 | data: [{x: 0, y: 0}, {x: 1, y: 1}, {x: 2, y: 2}], |
| 491 | xAxisID: 'customIDx', |
| 492 | yAxisID: 'customIDy' |
| 493 | }] |
| 494 | }, |
| 495 | options: { |
| 496 | scales: { |
| 497 | customIDx: { |
| 498 | type: 'linear', |
| 499 | display: false |
| 500 | }, |
| 501 | customIDy: { |
| 502 | type: 'linear', |
| 503 | display: false |
| 504 | } |
| 505 | } |
| 506 | } |
| 507 | }); |
| 508 | } |
| 509 | |
| 510 | expect(createChart).not.toThrow(); |
| 511 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected