Determine unit automatically in test (#7637)

This commit is contained in:
Ben McCann
2020-07-17 04:53:40 -07:00
committed by Evert Timberg
parent 0a53cac43d
commit d0922b3c2e

View File

@@ -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];