• 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
pdf-metadata-test.js 8.96 KB