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

Method clear

packages/browser/context.d.ts:617–617  ·  view source on GitHub ↗

* Clears the input element content * @see {@link https://vitest.dev/api/browser/interactivity#userevent-clear}

(options?: UserEventClearOptions)

Source from the content-addressed store, hash-verified

615 * @see {@link https://vitest.dev/api/browser/interactivity#userevent-clear}
616 */
617 clear(options?: UserEventClearOptions): Promise<void>
618 /**
619 * Moves the cursor position to the selected element
620 * @see {@link https://vitest.dev/api/browser/interactivity#userevent-hover}

Callers 15

createTestersMethod · 0.65
clearFunction · 0.65
fillFunction · 0.65
clearMocksFunction · 0.65
restoreAllMocksFunction · 0.65
clearCollectorContextFunction · 0.65
useFunction · 0.65
runNextHookFunction · 0.65
sendTasksUpdateFunction · 0.65
resolveDepsFunction · 0.65
clearMethod · 0.65
clearMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected