]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix logarighmic test to use correct scale (#6580)
authorJukka Kurkela <jukka.kurkela@gmail.com>
Sat, 19 Oct 2019 20:17:57 +0000 (23:17 +0300)
committerEvert Timberg <evert.timberg+github@gmail.com>
Sat, 19 Oct 2019 20:17:57 +0000 (16:17 -0400)
test/specs/scale.logarithmic.tests.js

index ddd9fd467a23b7406605bb7191186fb685028cf7..ba5102a664f01555027b88e1df4260a631002474 100644 (file)
@@ -749,7 +749,7 @@ describe('Logarithmic Scale tests', function() {
                        }
                });
 
-               expect(chart.scales.yScale1.getLabelForIndex(0, 2)).toBe(150);
+               expect(chart.scales.yScale0.getLabelForIndex(0, 2)).toBe(150);
        });
 
        describe('when', function() {