Fixed failing unit test

This commit is contained in:
Torkel Ödegaard 2015-03-22 15:27:05 -04:00
parent c67291da33
commit 526f3e1a31

View File

@ -153,9 +153,9 @@ define([
it('should apply axis transform and ticks', function() {
var axis = ctx.plotOptions.yaxes[0];
expect(axis.transform(100)).to.be(Math.log(100+0.0001));
expect(axis.ticks[0]).to.be(1);
expect(axis.ticks[1]).to.be(10);
expect(axis.transform(100)).to.be(Math.log(100+0.1));
expect(axis.ticks[0]).to.be(0);
expect(axis.ticks[1]).to.be(1);
});
});