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

Function makeFakeConfig

packages/core/src/test-utils/config.ts:28–37  ·  view source on GitHub ↗
(
  config: Partial<ConfigParameters> = {
    ...DEFAULT_CONFIG_PARAMETERS,
  },
)

Source from the content-addressed store, hash-verified

26 * override those defaults.
27 */
28export function makeFakeConfig(
29 config: Partial<ConfigParameters> = {
30 ...DEFAULT_CONFIG_PARAMETERS,
31 },
32): Config {
33 return new Config({
34 ...DEFAULT_CONFIG_PARAMETERS,
35 ...config,
36 });
37}

Callers 4

metrics.test.tsFile · 0.85
loggers.test.tsFile · 0.85
setupFunction · 0.85

Calls

no outgoing calls

Tested by 1

setupFunction · 0.68