(name: string, property: string)
| 58 | const metadata = this.extractMetaTagsFromDocument(document) |
| 59 | |
| 60 | const getMeta = (name: string, property: string) => { |
| 61 | const tag = metadata.find((tag) => tag.name === name || tag.property === property) |
| 62 | return tag?.content |
| 63 | } |
| 64 | |
| 65 | const favicon = document.querySelector('link[rel="icon"]')?.getAttribute('href') |
| 66 | const language = document.querySelector('html')?.getAttribute('lang') |
no outgoing calls
no test coverage detected