From: Evert Timberg Date: Sun, 20 Sep 2015 23:06:34 +0000 (-0400) Subject: Update tests for new config options X-Git-Tag: 2.0.0-alpha4~16^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fecb37e304d4445a85db9e843fcb0055e1576fd;p=thirdparty%2FChart.js.git Update tests for new config options --- diff --git a/test/core.helpers.tests.js b/test/core.helpers.tests.js index bbc7f4ab4..d832f0e25 100644 --- a/test/core.helpers.tests.js +++ b/test/core.helpers.tests.js @@ -222,6 +222,14 @@ describe('Core helper tests', function() { zeroLineWidth: 1, zeroLineColor: "rgba(0,0,0,0.25)", }, + scaleLabel: { + fontColor: '#666', + fontFamily: 'Helvetica Neue', + fontSize: 12, + fontStyle: 'normal', + labelString: '', + show: false, + }, reverse: false, beginAtZero: false, override: null, @@ -248,6 +256,14 @@ describe('Core helper tests', function() { zeroLineWidth: 1, zeroLineColor: "rgba(0,0,0,0.25)", }, + scaleLabel: { + fontColor: '#666', + fontFamily: 'Helvetica Neue', + fontSize: 12, + fontStyle: 'normal', + labelString: '', + show: false, + }, reverse: false, beginAtZero: false, override: null, diff --git a/test/scale.linear.tests.js b/test/scale.linear.tests.js index 94970d4c1..711105755 100644 --- a/test/scale.linear.tests.js +++ b/test/scale.linear.tests.js @@ -20,6 +20,14 @@ describe('Linear Scale', function() { zeroLineWidth: 1, zeroLineColor: "rgba(0,0,0,0.25)", }, + scaleLabel: { + fontColor: '#666', + fontFamily: 'Helvetica Neue', + fontSize: 12, + fontStyle: 'normal', + labelString: '', + show: false, + }, reverse: false, beginAtZero: false, override: null, diff --git a/test/scale.logarithmic.tests.js b/test/scale.logarithmic.tests.js index 7a472d88c..88217edd2 100644 --- a/test/scale.logarithmic.tests.js +++ b/test/scale.logarithmic.tests.js @@ -20,6 +20,14 @@ describe('Logarithmic Scale tests', function() { zeroLineWidth: 1, zeroLineColor: "rgba(0,0,0,0.25)", }, + scaleLabel: { + fontColor: '#666', + fontFamily: 'Helvetica Neue', + fontSize: 12, + fontStyle: 'normal', + labelString: '', + show: false, + }, reverse: false, override: null, labels: {