MCPcopy Create free account
hub / github.com/modem-dev/hunk / pressNavigationKey

Function pressNavigationKey

benchmarks/navigation-memory.ts:212–218  ·  view source on GitHub ↗
(setup: Awaited<ReturnType<typeof testRender>>, key: "]" | "[")

Source from the content-addressed store, hash-verified

210}
211
212async function pressNavigationKey(setup: Awaited<ReturnType<typeof testRender>>, key: "]" | "[") {
213 await act(async () => {
214 await setup.mockInput.typeText(key);
215 await setup.renderOnce();
216 await Bun.sleep(0);
217 });
218}
219
220async function main() {
221 const options = parseArgs(process.argv.slice(2));

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected