Skip to content

Commit

Permalink
Tests: add debug to flaky text test
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Nov 3, 2023
1 parent 839c92b commit 7caaa8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/text.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit 7caaa8e

Please sign in to comment.