MCPcopy
hub / github.com/yorukot/superfile / openZoxide

Function openZoxide

src/internal/model_zoxide_test.go:35–41  ·  view source on GitHub ↗
(t *testing.T, p *TeaProg)

Source from the content-addressed store, hash-verified

33}
34
35func openZoxide(t *testing.T, p *TeaProg) {
36 t.Helper()
37 p.SendKey(common.Hotkeys.OpenZoxide[0])
38 assert.Eventually(t, func() bool {
39 return p.getModel().zoxideModal.IsOpen()
40 }, DefaultTestTimeout, DefaultTestTick, "Zoxide modal should open")
41}
42
43func updateCurrentFilePanelDirOfTestModel(t *testing.T, p *TeaProg, dir string) {
44 t.Helper()

Callers 2

setupProgAndOpenZoxideFunction · 0.85
TestZoxideFunction · 0.85

Calls 3

SendKeyMethod · 0.80
getModelMethod · 0.80
IsOpenMethod · 0.45

Tested by

no test coverage detected