Fixed broken tests

This commit is contained in:
Tore Lervik 2015-12-21 23:47:38 +01:00
parent d134394a1d
commit 0437968a4e
6 changed files with 14 additions and 7 deletions

View 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'
}]

View 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
}
});

View 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
}
});

View 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
},
});

View 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
},
});

View 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,