Skip to content

Commit 67f49a8

Browse files
committedNov 8, 2023
Tests: increase flaky text test range further
1 parent 0740043 commit 67f49a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/unit/text.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ describe('Text to image', function () {
5858
if (err) throw err;
5959
assert.strictEqual('png', info.format);
6060
assert.strictEqual(3, info.channels);
61-
assert.ok(inRange(info.width, 400, 550), `Actual width ${info.width}`);
62-
assert.ok(inRange(info.height, 300, 450), `Actual height ${info.height}`);
61+
assert.ok(inRange(info.width, 400, 600), `Actual width ${info.width}`);
62+
assert.ok(inRange(info.height, 300, 500), `Actual height ${info.height}`);
6363
assert.ok(inRange(info.textAutofitDpi, 900, 1200), `Actual textAutofitDpi ${info.textAutofitDpi}`);
6464
done();
6565
});

0 commit comments

Comments
 (0)
Please sign in to comment.