Skip to content

Commit

Permalink
Fix test failing on test:phantom
Browse files Browse the repository at this point in the history
  • Loading branch information
lehni committed Mar 21, 2021
1 parent 4c80f23 commit 2237c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests/Item.js
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ test('Item#rasterize() bounds', function() {
equals(function() {
var raster = circle.rasterize({ resolution: 1000 });
// Reusing the raster for a 2nd rasterization should leave it in place.
return circle.rasterize({ resolution: 1000, raster }).bounds;
return circle.rasterize({ resolution: 1000, raster: raster }).bounds;
}, new Rectangle({ x: 45.032, y: 45.032, width: 9.936, height: 9.936 }));
});

Expand Down

0 comments on commit 2237c90

Please sign in to comment.