Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/code-server
/ heart.test.ts
File
heart.test.ts
test/unit/node/heart.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ logger } from
"@coder/logger"
2
import
{ readFile, writeFile, stat, utimes } from
"fs/promises"
3
import
{ setImmediate } from
"timers"
4
import
{ Heart } from
"../../../src/node/heart"
Callers
nothing calls this directly
Calls
7
mockLogger
Function · 0.90
clean
Function · 0.90
tmpdir
Function · 0.90
describe
Function · 0.85
beat
Method · 0.80
alive
Method · 0.80
dispose
Method · 0.65
Tested by
no test coverage detected