MCPcopy Create free account
hub / github.com/anus-dev/ANUS / renderVimHook

Function renderVimHook

packages/cli/src/ui/hooks/vim.test.ts:144–147  ·  view source on GitHub ↗
(buffer?: Partial<TextBuffer>)

Source from the content-addressed store, hash-verified

142 });
143
144 const renderVimHook = (buffer?: Partial<TextBuffer>) =>
145 renderHook(() =>
146 useVim((buffer || mockBuffer) as TextBuffer, mockHandleFinalSubmit),
147 );
148
149 const exitInsertMode = (result: {
150 current: {

Callers 1

vim.test.tsFile · 0.85

Calls 1

useVimFunction · 0.85

Tested by

no test coverage detected