MCPcopy Index your code
hub / github.com/coder/coder / mustSchedule

Function mustSchedule

coderd/autobuild/lifecycle_executor_test.go:1757–1762  ·  view source on GitHub ↗
(t *testing.T, s string)

Source from the content-addressed store, hash-verified

1755}
1756
1757func mustSchedule(t *testing.T, s string) *cron.Schedule {
1758 t.Helper()
1759 sched, err := cron.Weekly(s)
1760 require.NoError(t, err)
1761 return sched
1762}
1763
1764func mustWorkspaceParameters(t *testing.T, client *codersdk.Client, workspaceID uuid.UUID) {
1765 ctx := testutil.Context(t, testutil.WaitShort)

Calls 2

WeeklyFunction · 0.92
HelperMethod · 0.65

Tested by

no test coverage detected