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

Function _setGlobalConfigCacheForTesting

src/utils/config.ts:1910–1915  ·  view source on GitHub ↗
(
  config: GlobalConfig | null,
)

Source from the content-addressed store, hash-verified

1908export const _getConfigForTesting = getConfig
1909export const _wouldLoseAuthStateForTesting = wouldLoseAuthState
1910export function _setGlobalConfigCacheForTesting(
1911 config: GlobalConfig | null,
1912): void {
1913 globalConfigCache.config = config
1914 globalConfigCache.mtime = config ? Date.now() : 0
1915}

Calls

no outgoing calls

Tested by

no test coverage detected