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

Function TestRunFromContextAbsent

coderd/x/chatd/chatdebug/context_test.go:36–42  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

34}
35
36func TestRunFromContextAbsent(t *testing.T) {
37 t.Parallel()
38
39 got, ok := chatdebug.RunFromContext(context.Background())
40 require.False(t, ok)
41 require.Nil(t, got)
42}
43
44func TestContextWithStepRoundTrip(t *testing.T) {
45 t.Parallel()

Callers

nothing calls this directly

Calls 1

RunFromContextFunction · 0.92

Tested by

no test coverage detected