MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / parseHTML

Function parseHTML

test/listings/index.test.ts:85–92  ·  view source on GitHub ↗
(htmlString: string)

Source from the content-addressed store, hash-verified

83})
84
85function parseHTML(htmlString: string) {
86 const dom = new JSDOM(htmlString)
87 return {
88 dom,
89 window: dom.window,
90 document: dom.window.document
91 }
92}
93
94test('Listings have valid api endpoints', async () => {
95 const { listingsDetails } = context

Callers 1

index.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected