MCPcopy
hub / github.com/vuejs/core / cleanup

Function cleanup

packages/vue/__tests__/e2e/e2eBrowserUtils.ts:269–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

267 reject(new Error(`Timed out waiting for selector: ${selector}`))
268 }, 1000)
269 const cleanup = () => {
270 clearTimeout(timer)
271 observer.disconnect()
272 }
273
274 observer.observe(document.documentElement, {
275 childList: true,

Callers 1

waitForSelectorFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected