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

Function TestWrapModel_NilModel

coderd/x/chatd/chatdebug/recorder_internal_test.go:64–70  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

62}
63
64func TestWrapModel_NilModel(t *testing.T) {
65 t.Parallel()
66
67 require.Panics(t, func() {
68 WrapModel(nil, &Service{}, RecorderOptions{})
69 })
70}
71
72func TestWrapModel_NilService(t *testing.T) {
73 t.Parallel()

Callers

nothing calls this directly

Calls 1

WrapModelFunction · 0.85

Tested by

no test coverage detected