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

Function setNodeVersion

packages/cli/src/ui/hooks/useKeypress.test.ts:130–135  ·  view source on GitHub ↗
(version: string)

Source from the content-addressed store, hash-verified

128 });
129
130 const setNodeVersion = (version: string) => {
131 Object.defineProperty(process.versions, 'node', {
132 value: version,
133 configurable: true,
134 });
135 };
136
137 it('should not listen if isActive is false', () => {
138 renderHook(() => useKeypress(onKeypress, { isActive: false }), {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected