]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix tests
authorMattias Lyckne <mattias@lyckne.se>
Mon, 21 Dec 2015 07:43:48 +0000 (08:43 +0100)
committerMattias Lyckne <mattias@lyckne.se>
Mon, 21 Dec 2015 07:43:48 +0000 (08:43 +0100)
test/core.helpers.tests.js
test/scale.category.tests.js
test/scale.linear.tests.js
test/scale.logarithmic.tests.js
test/scale.radialLinear.tests.js
test/scale.time.tests.js

index 6a68d9ec35a5dc219cce3815969f40d8287b91d4..5547de774c897075c94af0728813de4f045db0ec 100644 (file)
@@ -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'
                                }]
index 74b79045e3579c4c5d492b12126a42e9a2d3bf8b..002b27fbc60751542e9514df4b779402393e4923 100644 (file)
@@ -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
                        }
                });
 
index ef1b2cbb95df19b46962e170c7b6aaebf94ecbf5..cc5ba7b94c053f5058ef7c1ca6ff226e73f1cd64 100644 (file)
@@ -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
                        }
                });
 
index 1f05388c682f8d60624655905465a4d8b56273dd..eabaa8870324c551c735d778b546114a3e01435e 100644 (file)
@@ -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
                        },
                });
 
index dc77aba988d02974f1ca5a60e018674fd5f4f0d2..e165daa847cd53039c48221a1d2cbc2f2c2c90df 100644 (file)
@@ -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
                        },
                });
 
index c67b92908edc7ae15a005ab3b5f4ab941f39f4d0..912402e07bfd873bc6084ca0ec9456c8e08c4a87 100644 (file)
@@ -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,