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

Function _createMockSettings

packages/cli/src/ui/hooks/vim.test.ts:138–142  ·  view source on GitHub ↗
(vimMode = true)

Source from the content-addressed store, hash-verified

136 };
137
138 const _createMockSettings = (vimMode = true) => ({
139 getValue: vi.fn().mockReturnValue(vimMode),
140 setValue: vi.fn(),
141 merged: { vimMode },
142 });
143
144 const renderVimHook = (buffer?: Partial<TextBuffer>) =>
145 renderHook(() =>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected