(html: string)
| 1427 | await $fetch<string>('/use-id') |
| 1428 | |
| 1429 | const sanitiseHTML = (html: string) => html.replace(/ data-[^= ]+="[^"]+"/g, '').replace(/<!--[[\]]-->/, '') |
| 1430 | |
| 1431 | const serverHTML = await $fetch<string>('/use-id').then(html => sanitiseHTML(html.match(/<form.*<\/form>/)![0])) |
| 1432 | const ids = serverHTML.match(/id="[^"]*"/g)?.map(id => id.replace(/id="([^"]*)"/, '$1')) as string[] |
no outgoing calls
no test coverage detected
searching dependent graphs…