Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChatLab/ChatLab
/ analytics.test.ts
File
analytics.test.ts
packages/node-runtime/src/services/analytics.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
test from
'node:test'
2
import
assert from
'node:assert/strict'
3
import
{ existsSync, mkdtempSync, readFileSync, rmSync } from
'node:fs'
4
import
{ tmpdir } from
'node:os'
Callers
nothing calls this directly
Calls
4
readAnalyticsData
Function · 0.85
parse
Method · 0.80
createTempSystemDir
Function · 0.70
trackDailyActive
Method · 0.65
Tested by
no test coverage detected