Skip to content

Commit

Permalink
Fix fixture tests with high pixel ratio (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle authored and simonbrunel committed Mar 18, 2019
1 parent bc94f56 commit b52f4f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b52f4f9

Please sign in to comment.