mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-09 09:46:51 +01:00
Determine unit automatically in test (#7637)
This commit is contained in:
committed by
Evert Timberg
parent
0a53cac43d
commit
d0922b3c2e
@@ -34,9 +34,6 @@ module.exports = {
|
||||
maxRotation: 0,
|
||||
sampleSize: 100
|
||||
},
|
||||
time: {
|
||||
unit: 'month'
|
||||
},
|
||||
// manually set major ticks so that test passes in all time zones with moment adapter
|
||||
afterBuildTicks: function(scale) {
|
||||
const major = [0, 12, 24];
|
||||
|
||||
Reference in New Issue
Block a user