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

Function TestStepFromContextAbsent

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

Source from the content-addressed store, hash-verified

61}
62
63func TestStepFromContextAbsent(t *testing.T) {
64 t.Parallel()
65
66 got, ok := chatdebug.StepFromContext(context.Background())
67 require.False(t, ok)
68 require.Nil(t, got)
69}
70
71func TestContextWithRunAndStep(t *testing.T) {
72 t.Parallel()

Callers

nothing calls this directly

Calls 1

StepFromContextFunction · 0.92

Tested by

no test coverage detected