MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / driveProvWiz

Function driveProvWiz

internal/cli/provider_wizard_test.go:12–19  ·  view source on GitHub ↗

driveProvWiz feeds key events into the provider wizard model, same pattern as the launch wizard's drive helper.

(t *testing.T, m providerWizardModel, keys ...string)

Source from the content-addressed store, hash-verified

10// driveProvWiz feeds key events into the provider wizard model, same pattern
11// as the launch wizard's drive helper.
12func driveProvWiz(t *testing.T, m providerWizardModel, keys ...string) providerWizardModel {
13 t.Helper()
14 for _, k := range keys {
15 next, _ := m.Update(keyEvent(k))
16 m = next.(providerWizardModel)
17 }
18 return m
19}
20
21// typeKeys returns key event strings for each character in s.
22func typeKeys(s string) []string {

Calls 2

keyEventFunction · 0.85
UpdateMethod · 0.45

Tested by

no test coverage detected