import { getHtmlLinks } from "./get-html-links.function"; import { parse as htmlParser } from 'node-html-parser'; describe('getHtmlLinks', () => { it('correctly grabs all links in a html document', () => { const html = htmlParser(`

this is a link

link2
link3