MCPcopy Create free account
hub / github.com/coder/coder / newTestRunner

Function newTestRunner

scaletest/chat/run_internal_test.go:316–319  ·  view source on GitHub ↗
(t *testing.T, cfg Config)

Source from the content-addressed store, hash-verified

314var _ chatClient = (*fakeChatClient)(nil)
315
316func newTestRunner(t *testing.T, cfg Config) *Runner {
317 t.Helper()
318 return &Runner{client: newFakeChatClient(t), cfg: cfg}
319}
320
321func newTestRunnerWithChatArchive(t *testing.T, chatID uuid.UUID, updateErr error) (*Runner, func() bool) {
322 t.Helper()

Callers 1

Calls 2

newFakeChatClientFunction · 0.85
HelperMethod · 0.65

Tested by

no test coverage detected