MCPcopy
hub / github.com/jestjs/jest / onCancelPatternPrompt

Function onCancelPatternPrompt

packages/jest-core/src/watch.ts:457–462  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

455 };
456
457 const onCancelPatternPrompt = () => {
458 outputStream.write(ansiEscapes.cursorHide);
459 outputStream.write(specialChars.CLEAR);
460 outputStream.write(usage(globalConfig, watchPlugins));
461 outputStream.write(ansiEscapes.cursorShow);
462 };
463
464 if (typeof stdin.setRawMode === 'function') {
465 stdin.setRawMode(true);

Callers 1

onKeypressFunction · 0.85

Calls 2

writeMethod · 0.80
usageFunction · 0.70

Tested by

no test coverage detected