MCPcopy 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
6538func 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

Calls 2

WeeklyFunction · 0.92
HelperMethod · 0.65

Tested by

no test coverage detected