mirror of
https://github.com/lovell/sharp.git
synced 2026-02-04 05:36:18 +01:00
Tests: increase flaky text test range even further
This commit is contained in:
@@ -60,7 +60,7 @@ describe('Text to image', function () {
|
|||||||
assert.strictEqual(3, info.channels);
|
assert.strictEqual(3, info.channels);
|
||||||
assert.ok(inRange(info.width, 400, 600), `Actual width ${info.width}`);
|
assert.ok(inRange(info.width, 400, 600), `Actual width ${info.width}`);
|
||||||
assert.ok(inRange(info.height, 300, 500), `Actual height ${info.height}`);
|
assert.ok(inRange(info.height, 300, 500), `Actual height ${info.height}`);
|
||||||
assert.ok(inRange(info.textAutofitDpi, 900, 1200), `Actual textAutofitDpi ${info.textAutofitDpi}`);
|
assert.ok(inRange(info.textAutofitDpi, 900, 1300), `Actual textAutofitDpi ${info.textAutofitDpi}`);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user