mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
14 lines
336 B
JavaScript
14 lines
336 B
JavaScript
// Tests for the line element
|
|
describe('Chart.elements.Line', function() {
|
|
describe('auto', jasmine.fixture.specs('element.line'));
|
|
|
|
it('should be constructed', function() {
|
|
var line = new Chart.elements.Line({
|
|
points: [1, 2, 3, 4]
|
|
});
|
|
|
|
expect(line).not.toBe(undefined);
|
|
expect(line.points).toEqual([1, 2, 3, 4]);
|
|
});
|
|
});
|