MCPcopy Index your code
hub / github.com/jetify-com/devbox / setPromptResponse

Function setPromptResponse

internal/setup/setup_test.go:204–208  ·  view source on GitHub ↗
(t *testing.T, a any)

Source from the content-addressed store, hash-verified

202}
203
204func setPromptResponse(t *testing.T, a any) {
205 old := defaultPrompt
206 t.Cleanup(func() { defaultPrompt = old })
207 defaultPrompt = func(string) (any, error) { return a, nil }
208}

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected