• Robert Knight's avatar
    Add test case that causes `text` argument to `textMatchScore` to be empty · 6cae566e
    Robert Knight authored
    This could happen in the real application if text near the end of the
    document was annotated and an update to the document removes the text
    between the end of the annotated text and the end of the document.
    
    I also added a note about the preconditions for when the `search`
    function is guaranteed to return at least one match.
    6cae566e
match-quote-test.js 6.57 KB