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

Function chatdTestContext

coderd/x/chatd/subagent_internal_test.go:713–716  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

711}
712
713func chatdTestContext(t *testing.T) context.Context {
714 t.Helper()
715 return dbauthz.AsChatd(testutil.Context(t, testutil.WaitLong))
716}
717
718func systemRestrictedTestContext(t *testing.T) context.Context {
719 t.Helper()

Calls 3

AsChatdFunction · 0.92
ContextFunction · 0.92
HelperMethod · 0.65

Tested by

no test coverage detected