Chart.js/test/specs/core.scale.tests.js

23 lines
416 B
JavaScript
Raw Normal View History

describe('Core.scale', function() {
describe('auto', jasmine.fixture.specs('core.scale'));
2017-09-10 19:15:47 +02:00
it('should provide default scale label options', function() {
expect(Chart.defaults.scale.scaleLabel).toEqual({
// display property
display: false,
// actual label
labelString: '',
// actual label
lineHeight: 1.2,
// top/bottom padding
padding: {
top: 4,
bottom: 4
}
});
});
});