• Robert Knight's avatar
    Refactor `getMetadata` tests · bfe5d42b
    Robert Knight authored
     - Convert promise chains to async/await
    
     - Add missing tests to check that the PDF URL and fingerprint URL
       appear in the object returned by `getMetadata`. These were previously
       tested indirectly in other tests.
    
     - Change tests to only check the specific properties of the returned
       object that are of interest. This reduces the changes needed when
       tests change unrelated parts of the output.
    bfe5d42b
Name
Last commit
Last update
..
test Loading commit data...
html-metadata.js Loading commit data...
html.js Loading commit data...
pdf-metadata.js Loading commit data...
pdf.js Loading commit data...