Determine unit automatically in test (#7637)

This commit is contained in:
Ben McCann 2020-07-17 04:53:40 -07:00 committed by GitHub
parent 8d837f977d
commit 2564e708b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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