Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ mustSchedule
Function
mustSchedule
coderd/workspaces_test.go:6538–6543 ·
view source on GitHub ↗
(t *testing.T, s string)
Source
from the content-addressed store, hash-verified
6536
}
6537
6538
func
mustSchedule(t *testing.T, s string) *cron.Schedule {
6539
t.Helper()
6540
sched, err := cron.Weekly(s)
6541
require.NoError(t, err)
6542
return
sched
6543
}
Callers
1
TestWorkspaceBuildsEnqueuedMetric
Function · 0.70
Calls
2
Weekly
Function · 0.92
Helper
Method · 0.65
Tested by
no test coverage detected