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