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

Function defaultHelpers

coderd/notifications/utils_test.go:54–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52}
53
54func defaultHelpers() map[string]any {
55 return map[string]any{
56 "base_url": func() string { return "http://test.com" },
57 "current_year": func() string { return "2024" },
58 "logo_url": func() string { return "https://coder.com/coder-logo-horizontal.png" },
59 "app_name": func() string { return "Coder" },
60 }
61}
62
63func createSampleUser(t *testing.T, db database.Store) database.User {
64 return dbgen.User(t, db, database.User{

Callers 15

DispatcherMethod · 0.85
TestMetricsFunction · 0.85
TestPendingUpdatesMetricFunction · 0.85
TestSMTPDispatchFunction · 0.85
TestWebhookDispatchFunction · 0.85
TestBackpressureFunction · 0.85
TestRetriesFunction · 0.85
TestInvalidConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected