Fixed failing unit test

pull/1629/head
Torkel Ödegaard 10 years ago
parent c67291da33
commit 526f3e1a31
  1. 6
      src/test/specs/graph-specs.js

@ -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);
});
});

Loading…
Cancel
Save