From dec4a5f57a75b8dfa96fc6f2f97ad4bc146b289c Mon Sep 17 00:00:00 2001 From: Mattias Lyckne Date: Mon, 21 Dec 2015 08:43:48 +0100 Subject: [PATCH] Fix tests --- test/core.helpers.tests.js | 2 ++ test/scale.category.tests.js | 1 + test/scale.linear.tests.js | 1 + test/scale.logarithmic.tests.js | 1 + test/scale.radialLinear.tests.js | 2 +- test/scale.time.tests.js | 3 ++- 6 files changed, 8 insertions(+), 2 deletions(-) diff --git a/test/core.helpers.tests.js b/test/core.helpers.tests.js index 6a68d9ec3..5547de774 100644 --- a/test/core.helpers.tests.js +++ b/test/core.helpers.tests.js @@ -244,6 +244,7 @@ describe('Core helper tests', function() { reverse: false, display: true, callback: merged.scales.yAxes[1].ticks.callback, // make it nicer, then check explicitly below + autoSkip: true }, type: 'linear' }, { @@ -280,6 +281,7 @@ describe('Core helper tests', function() { reverse: false, display: true, callback: merged.scales.yAxes[2].ticks.callback, // make it nicer, then check explicitly below + autoSkip: true }, type: 'linear' }] diff --git a/test/scale.category.tests.js b/test/scale.category.tests.js index 74b79045e..002b27fbc 100644 --- a/test/scale.category.tests.js +++ b/test/scale.category.tests.js @@ -43,6 +43,7 @@ describe('Category scale tests', function() { reverse: false, display: true, callback: defaultConfig.ticks.callback, // make this nicer, then check explicitly below + autoSkip: true } }); diff --git a/test/scale.linear.tests.js b/test/scale.linear.tests.js index ef1b2cbb9..cc5ba7b94 100644 --- a/test/scale.linear.tests.js +++ b/test/scale.linear.tests.js @@ -42,6 +42,7 @@ describe('Linear Scale', function() { reverse: false, display: true, callback: defaultConfig.ticks.callback, // make this work nicer, then check below + autoSkip: true } }); diff --git a/test/scale.logarithmic.tests.js b/test/scale.logarithmic.tests.js index 1f05388c6..eabaa8870 100644 --- a/test/scale.logarithmic.tests.js +++ b/test/scale.logarithmic.tests.js @@ -41,6 +41,7 @@ describe('Logarithmic Scale tests', function() { reverse: false, display: true, callback: defaultConfig.ticks.callback, // make this nicer, then check explicitly below + autoSkip: true }, }); diff --git a/test/scale.radialLinear.tests.js b/test/scale.radialLinear.tests.js index dc77aba98..e165daa84 100644 --- a/test/scale.radialLinear.tests.js +++ b/test/scale.radialLinear.tests.js @@ -58,7 +58,7 @@ describe('Test the radial linear scale', function() { showLabelBackdrop: true, display: true, callback: defaultConfig.ticks.callback, // make this nicer, then check explicitly below - + autoSkip: true }, }); diff --git a/test/scale.time.tests.js b/test/scale.time.tests.js index c67b92908..912402e07 100644 --- a/test/scale.time.tests.js +++ b/test/scale.time.tests.js @@ -45,7 +45,8 @@ describe('Time scale tests', function() { padding: 10, reverse: false, display: true, - callback: defaultConfig.ticks.callback, // make this nicer, then check explicitly below + callback: defaultConfig.ticks.callback, // make this nicer, then check explicitly below, + autoSkip: true }, time: { format: false, -- 2.47.3