MCPcopy Create free account
hub / github.com/chartjs/Chart.js / createChart

Function createChart

test/specs/controller.line.tests.js:47–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 it('Should not throw with empty dataset when tension is non-zero', function() {
46 // https://github.com/chartjs/Chart.js/issues/8676
47 function createChart() {
48 return window.acquireChart({
49 type: 'line',
50 data: {
51 datasets: [{
52 data: [],
53 tension: 0.5
54 }],
55 labels: []
56 },
57 });
58 }
59 expect(createChart).not.toThrow();
60 });
61

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected