From 9fecb37e304d4445a85db9e843fcb0055e1576fd Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Sun, 20 Sep 2015 19:06:34 -0400 Subject: [PATCH] Update tests for new config options --- test/core.helpers.tests.js | 16 ++++++++++++++++ test/scale.linear.tests.js | 8 ++++++++ test/scale.logarithmic.tests.js | 8 ++++++++ 3 files changed, 32 insertions(+) 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: {