mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-17 13:46:49 +01:00
Fixed broken tests
This commit is contained in:
@@ -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'
|
||||
}]
|
||||
|
||||
@@ -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
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -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
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -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
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user