• Robert Knight's avatar
    Improve `HTMLMetadata` test descriptions · 8b689b10
    Robert Knight authored
    Rename the `it`/`describe` blocks for tests for the
    `getDocumentMetadata` method to make it clearer what APIs the tests
    refer to.
    
    This also includes some minor related cleanup:
    
     - Function expressions => arrow functions
     - Fix a test for Twitter metadata being disabled because it was embedded within another test
     - Remove a duplicated test for the `uri` method
    8b689b10
html-metadata-test.js 12.8 KB