Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ time.test.ts
File
time.test.ts
site/src/utils/time.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ afterEach, beforeEach, describe, expect, it, vi } from
"vitest"
;
2
import
{ shortRelativeTime } from
"./time"
;
3
4
describe(
"shortRelativeTime"
, () => {
Callers
nothing calls this directly
Calls
2
shortRelativeTime
Function · 0.90
beforeEach
Function · 0.50
Tested by
no test coverage detected