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

Function newInternalTestServerWithClock

coderd/x/chatd/subagent_internal_test.go:88–103  ·  view source on GitHub ↗
(
	t *testing.T,
	db database.Store,
	ps pubsub.Pubsub,
	keys chatprovider.ProviderAPIKeys,
	clk quartz.Clock,
)

Source from the content-addressed store, hash-verified

86}
87
88func newInternalTestServerWithClock(
89 t *testing.T,
90 db database.Store,
91 ps pubsub.Pubsub,
92 keys chatprovider.ProviderAPIKeys,
93 clk quartz.Clock,
94) *Server {
95 return newInternalTestServerWithLoggerAndClock(
96 t,
97 db,
98 ps,
99 keys,
100 slogtest.Make(t, &slogtest.Options{IgnoreErrors: true}),
101 clk,
102 )
103}
104
105func newInternalTestServerWithLogger(
106 t *testing.T,

Tested by

no test coverage detected