Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jestjs/jest
/ clearLine
Function
clearLine
packages/jest-util/src/clearLine.ts:10–14 ·
view source on GitHub ↗
(stream: WriteStream)
Source
from the content-addressed store, hash-verified
8
import
type
{WriteStream} from
'node:tty'
;
9
10
export
default
function
clearLine(stream: WriteStream): void {
11
if
(stream.isTTY) {
12
stream.write(
'\u001B[999D\u001B[K'
);
13
}
14
}
Callers
8
run
Function · 0.90
buildTestPathPatterns
Function · 0.90
_log
Method · 0.90
_logError
Method · 0.90
runCLI
Function · 0.90
_addUntestedFiles
Method · 0.90
onRunComplete
Method · 0.90
remove
Function · 0.85
Calls
1
write
Method · 0.80
Tested by
no test coverage detected