MCPcopy Create free account
hub / github.com/Noumena-Network/code / resetKeybindingLoaderForTesting

Function resetKeybindingLoaderForTesting

src/keybindings/loadUserBindings.ts:461–472  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

459 * Reset internal state for testing.
460 */
461export function resetKeybindingLoaderForTesting(): void {
462 initialized = false
463 disposed = false
464 cachedBindings = null
465 cachedWarnings = []
466 lastCustomBindingsLogDate = null
467 if (watcher) {
468 void watcher.close()
469 watcher = null
470 }
471 keybindingsChanged.clear()
472}

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected