Weird test: internal link checking

from blog Applied Cartography, | ↗ original
I wrote last month about using weird tests. Here's another example: checking for broken internal links in our upcoming docsite redesign! const extractInternalLinks = (content: string): string[] => { // Check for internal links only, in the form of [text](/path). const internalLinks = content.match(/\[.*?\]\(\/.*?\)/g); return ( ...