]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fixed broken tests 1816/head
authorTore Lervik <tore@lervik.com>
Mon, 21 Dec 2015 22:47:38 +0000 (23:47 +0100)
committerTore Lervik <tore@lervik.com>
Mon, 21 Dec 2015 22:47:38 +0000 (23:47 +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 5547de774c897075c94af0728813de4f045db0ec..0e18c7a5cb61c58a705ddd88028b5ac0daee3769 100644 (file)
@@ -244,7 +244,8 @@ 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
+                                               autoSkip: true,
+                                               autoSkipPadding: 20
                                        },
                                        type: 'linear'
                                }, {
@@ -281,7 +282,8 @@ 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
+                                               autoSkip: true,
+                                               autoSkipPadding: 20
                                        },
                                        type: 'linear'
                                }]
index 002b27fbc60751542e9514df4b779402393e4923..e844e9aeeaeb2da0a70368fc4fc750f5906fa89e 100644 (file)
@@ -43,7 +43,8 @@ describe('Category scale tests', function() {
                                reverse: false,
                                display: true,
                                callback: defaultConfig.ticks.callback,  // make this nicer, then check explicitly below
-                               autoSkip: true
+                               autoSkip: true,
+                               autoSkipPadding: 20
                        }
                });
 
index 64c4e3a442845b911d94d0f704400fbda23894f2..5ca84951aea9c7bb22930cbdd3a5c797b466cbb1 100644 (file)
@@ -42,7 +42,8 @@ describe('Linear Scale', function() {
                                reverse: false,
                                display: true,
                                callback: defaultConfig.ticks.callback, // make this work nicer, then check below
-                               autoSkip: true
+                               autoSkip: true,
+                               autoSkipPadding: 20
                        }
                });
 
index 29b07713012fa3a870bb66c09f7c989cad39afcf..fac226a53d8eadf19d6005206de7097d7e83d89b 100644 (file)
@@ -41,7 +41,8 @@ describe('Logarithmic Scale tests', function() {
                                reverse: false,
                                display: true,
                                callback: defaultConfig.ticks.callback, // make this nicer, then check explicitly below
-                               autoSkip: true
+                               autoSkip: true,
+                               autoSkipPadding: 20
                        },
                });
 
index e165daa847cd53039c48221a1d2cbc2f2c2c90df..f0c48aa27e9d28396875c8e564545c2fbbf91a25 100644 (file)
@@ -58,7 +58,8 @@ describe('Test the radial linear scale', function() {
                                showLabelBackdrop: true,
                                display: true,
                                callback: defaultConfig.ticks.callback, // make this nicer, then check explicitly below
-                               autoSkip: true
+                               autoSkip: true,
+                               autoSkipPadding: 20
                        },
                });
 
index 912402e07bfd873bc6084ca0ec9456c8e08c4a87..ed3810dc83331b97ab4637c03b9182a80163392b 100644 (file)
@@ -46,7 +46,8 @@ describe('Time scale tests', function() {
                                reverse: false,
                                display: true,
                                callback: defaultConfig.ticks.callback, // make this nicer, then check explicitly below,
-                               autoSkip: true
+                               autoSkip: true,
+                               autoSkipPadding: 20
                        },
                        time: {
                                format: false,