From: Evert Timberg Date: Sun, 17 Apr 2016 01:49:08 +0000 (-0400) Subject: Update tests for new config option X-Git-Tag: 2.1.0~69^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fac92448ffcb6342f6cdb62b817a72b1810db024;p=thirdparty%2FChart.js.git Update tests for new config option --- diff --git a/test/core.helpers.tests.js b/test/core.helpers.tests.js index 3721e3b41..7bc5dc3c7 100644 --- a/test/core.helpers.tests.js +++ b/test/core.helpers.tests.js @@ -217,6 +217,7 @@ describe('Core helper tests', function() { color: "rgba(0, 0, 0, 0.1)", drawOnChartArea: true, drawTicks: true, // draw ticks extending towards the label + tickMarkLength: 10, lineWidth: 1, offsetGridLines: false, display: true, @@ -246,7 +247,8 @@ describe('Core helper tests', function() { gridLines: { color: "rgba(0, 0, 0, 0.1)", drawOnChartArea: true, - drawTicks: true, // draw ticks extending towards the label + drawTicks: true, // draw ticks extending towards the label, + tickMarkLength: 10 lineWidth: 1, offsetGridLines: false, display: true, diff --git a/test/scale.category.tests.js b/test/scale.category.tests.js index 47645fe23..7807d05c7 100644 --- a/test/scale.category.tests.js +++ b/test/scale.category.tests.js @@ -16,6 +16,7 @@ describe('Category scale tests', function() { color: "rgba(0, 0, 0, 0.1)", drawOnChartArea: true, drawTicks: true, // draw ticks extending towards the label + tickMarkLength: 10, lineWidth: 1, offsetGridLines: false, display: true, diff --git a/test/scale.linear.tests.js b/test/scale.linear.tests.js index 1de340d4e..3236949b1 100644 --- a/test/scale.linear.tests.js +++ b/test/scale.linear.tests.js @@ -15,6 +15,7 @@ describe('Linear Scale', function() { color: "rgba(0, 0, 0, 0.1)", drawOnChartArea: true, drawTicks: true, // draw ticks extending towards the label + tickMarkLength: 10, lineWidth: 1, offsetGridLines: false, display: true, diff --git a/test/scale.logarithmic.tests.js b/test/scale.logarithmic.tests.js index 6f2866237..a75f174e1 100644 --- a/test/scale.logarithmic.tests.js +++ b/test/scale.logarithmic.tests.js @@ -14,6 +14,7 @@ describe('Logarithmic Scale tests', function() { color: "rgba(0, 0, 0, 0.1)", drawOnChartArea: true, drawTicks: true, + tickMarkLength: 10, lineWidth: 1, offsetGridLines: false, display: true, diff --git a/test/scale.radialLinear.tests.js b/test/scale.radialLinear.tests.js index 566e61b6a..c7d05e295 100644 --- a/test/scale.radialLinear.tests.js +++ b/test/scale.radialLinear.tests.js @@ -20,6 +20,7 @@ describe('Test the radial linear scale', function() { color: "rgba(0, 0, 0, 0.1)", drawOnChartArea: true, drawTicks: true, + tickMarkLength: 10, lineWidth: 1, offsetGridLines: false, display: true, diff --git a/test/scale.time.tests.js b/test/scale.time.tests.js index 244daff63..c35b4cea3 100644 --- a/test/scale.time.tests.js +++ b/test/scale.time.tests.js @@ -40,6 +40,7 @@ describe('Time scale tests', function() { color: "rgba(0, 0, 0, 0.1)", drawOnChartArea: true, drawTicks: true, + tickMarkLength: 10, lineWidth: 1, offsetGridLines: false, display: true,