From 2ac56780ae625c8cc0cfbcf11b66b309437d393f Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Thu, 27 Jun 2019 13:34:09 -0700 Subject: [PATCH] Make custom scale implemenation more real --- test/specs/core.scale.tests.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/specs/core.scale.tests.js b/test/specs/core.scale.tests.js index 605707eb3c1..f80b542ef7f 100644 --- a/test/specs/core.scale.tests.js +++ b/test/specs/core.scale.tests.js @@ -495,6 +495,9 @@ describe('Core.scale', function() { it('should default to one layer for custom scales', function() { var customScale = Chart.Scale.extend({ draw: function() {}, + buildTicks: function() { + this.ticks = ['tick']; + }, convertTicksToLabels: function() { return ['tick']; }