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

Function TestBeginStep_SkipsNilRunID

coderd/x/chatd/chatdebug/stubs_internal_test.go:11–18  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

9)
10
11func TestBeginStep_SkipsNilRunID(t *testing.T) {
12 t.Parallel()
13
14 ctx := ContextWithRun(context.Background(), &RunContext{ChatID: uuid.New()})
15 handle, enriched := beginStep(ctx, &Service{}, RecorderOptions{ChatID: uuid.New()}, OperationGenerate, nil)
16 require.Nil(t, handle)
17 require.Equal(t, ctx, enriched)
18}

Callers

nothing calls this directly

Calls 4

ContextWithRunFunction · 0.85
beginStepFunction · 0.85
NewMethod · 0.65
EqualMethod · 0.45

Tested by

no test coverage detected