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

Function updateSettingsForSource

src/tools/ConfigTool/ConfigTool.test.ts:77–83  ·  view source on GitHub ↗
(
      _source: string,
      update: Record<string, unknown>,
    )

Source from the content-addressed store, hash-verified

75 mock.module(settingsModulePath, () => ({
76 getInitialSettings: () => mockSettings,
77 updateSettingsForSource(
78 _source: string,
79 update: Record<string, unknown>,
80 ): { error?: Error } {
81 mockSettings = mergeObjects(mockSettings, update)
82 return {}
83 },
84 }))
85}
86

Callers 1

callFunction · 0.70

Calls 1

mergeObjectsFunction · 0.85

Tested by

no test coverage detected