diff --git a/test/index.js b/test/index.js index 13bfc9c..709758a 100644 --- a/test/index.js +++ b/test/index.js @@ -7,6 +7,9 @@ import utils from './utils'; var charts = {}; +// force ratio=1 for tests on high-res/retina devices +window.devicePixelRatio = 1; + jasmine.chart = { acquire: function() { var chart = utils.acquireChart.apply(utils, arguments);