From 98614842e73fd14a6c3a9a728d2c72e411c6b653 Mon Sep 17 00:00:00 2001 From: kangax Date: Tue, 14 Aug 2012 16:13:30 +0200 Subject: [PATCH] Bring IMG_WIDTH/IMG_HEIGHT back. --- test/unit/image.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/image.js b/test/unit/image.js index 4870dd59..dd230006 100644 --- a/test/unit/image.js +++ b/test/unit/image.js @@ -18,8 +18,8 @@ 'type': 'image', 'left': 0, 'top': 0, - 'width': 0, // node-canvas doesn't seem to allow setting width/height on image objects - 'height': 0, + 'width': IMG_WIDTH, // node-canvas doesn't seem to allow setting width/height on image objects + 'height': IMG_HEIGHT, 'fill': 'rgb(0,0,0)', 'overlayFill': null, 'stroke': null,