aboutsummaryrefslogtreecommitdiff
path: root/test/test-document-util.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-document-util.js')
-rw-r--r--test/test-document-util.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test-document-util.js b/test/test-document-util.js
index 334c78a5..34f4f8b3 100644
--- a/test/test-document-util.js
+++ b/test/test-document-util.js
@@ -167,7 +167,10 @@ async function testDocumentTextScanningFunctions(dom, {DocumentUtil, TextSourceR
// Test docRangeFromPoint
const documentUtil = new DocumentUtil();
- const source = documentUtil.getRangeFromPoint(0, 0, false);
+ const source = documentUtil.getRangeFromPoint(0, 0, {
+ deepContentScan: false,
+ normalizeCssZoom: true
+ });
switch (resultType) {
case 'TextSourceRange':
assert.strictEqual(getPrototypeOfOrNull(source), TextSourceRange.prototype);