MCPcopy
hub / github.com/vitejs/vite / fetchHtml

Function fetchHtml

playground/html/__tests__/html.spec.ts:15–19  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

13} from '~utils'
14
15function fetchHtml(p: string) {
16 return fetch(viteTestUrl + p, {
17 headers: { Accept: 'text/html,*/*' },
18 })
19}
20
21function testPage(isNested: boolean) {
22 test('pre transform', async () => {

Callers 1

html.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected