Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudflare/computer
/ duration.test.ts
File
duration.test.ts
packages/computer/src/artifacts/duration.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// Unit tests for the TTL duration parser. Pure logic, no I/O.
2
3
import
{ describe, expect, it } from
"vitest"
;
4
import
{ parseDuration } from
"./duration.js"
;
Callers
nothing calls this directly
Calls
1
parseDuration
Function · 0.85
Tested by
no test coverage detected