tilgovi commented on a change in pull request #88:
URL: https://github.com/apache/incubator-annotator/pull/88#discussion_r485069411



##########
File path: packages/dom/test/highlight-range/highlight-range.test.ts
##########
@@ -172,7 +172,7 @@ describe('highlightRange', () => {
     const inputHtml = `<b>Try highlighting this image: <img> — would that 
work?</b>`;
     const doc = domParser.parseFromString(inputHtml, 'text/html');
 
-    const range = document.createRange();
+    const range = doc.createRange();

Review comment:
       Good catch.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to