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

Function clearValue

packages/vue/__tests__/e2e/e2eUtils.ts:179–184  ·  view source on GitHub ↗
(selector: string)

Source from the content-addressed store, hash-verified

177 }
178
179 async function clearValue(selector: string) {
180 return await page.$eval(
181 selector,
182 node => ((node as HTMLInputElement).value = ''),
183 )
184 }
185
186 function timeout(time: number) {
187 return page.evaluate(time => {

Callers 2

testGridFunction · 0.70
testTodomvcFunction · 0.70

Calls 1

$evalMethod · 0.80

Tested by

no test coverage detected