MCPcopy
hub / github.com/vitest-dev/vitest / render

Function render

test/browser/fixtures/user-event-hover/hover-reset.test.ts:18–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16})
17
18function render() {
19 const container = document.createElement('div')
20 container.innerHTML = `
21<div class="btn" role="button" style="width: 100px; height: 50px;">
22 hello
23</div>
24`
25 document.body.appendChild(container)
26}
27
28test('click', async () => {
29 render()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected