mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Tests: add debug to flaky text test
This commit is contained in:
parent
839c92bf3d
commit
7caaa8e22b
@ -59,8 +59,8 @@ describe('Text to image', function () {
|
||||
if (err) throw err;
|
||||
assert.strictEqual('png', info.format);
|
||||
assert.strictEqual(3, info.channels);
|
||||
assert.ok(info.width <= maxWidth);
|
||||
assert.ok(info.height <= maxHeight);
|
||||
assert.ok(info.width <= maxWidth, `Actual width ${info.width}`);
|
||||
assert.ok(info.height <= maxHeight, `Actual height ${info.height}`);
|
||||
assert.ok(info.textAutofitDpi > 0);
|
||||
done();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user