diff options
Diffstat (limited to 'platform/node')
-rw-r--r-- | platform/node/test/js/map.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/node/test/js/map.test.js b/platform/node/test/js/map.test.js index 364907c67b..b3934e4fd7 100644 --- a/platform/node/test/js/map.test.js +++ b/platform/node/test/js/map.test.js @@ -233,10 +233,10 @@ test('Map', function(t) { map.load(style); map.render({}, function(err, pixels) { t.error(err); - map.release(); - t.ok(pixels); + t.ok(pixels instanceof Buffer); + t.equal(pixels.length, 512 * 512 * 4) t.end(); }); }); |