Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChatLab/ChatLab
/ unixTs
Function
unixTs
tests/chart-runtime/render-chart.integration.test.ts:16–18 ·
view source on GitHub ↗
(iso: string)
Source
from the content-addressed store, hash-verified
14
}
15
16
function
unixTs(iso: string): number {
17
return
Math.floor(Date.parse(iso) / 1000)
18
}
19
20
function
createTempDir(): string {
21
return
mkdtempSync(path.join(tmpdir(),
'chatlab-chart-runtime-'
))
Callers
3
seedChatDb
Function · 0.70
add
Function · 0.70
render-chart.integration.test.ts
File · 0.70
Calls
1
parse
Method · 0.80
Tested by
no test coverage detected