MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / writeTeamConfig

Function writeTeamConfig

src/utils/__tests__/teamDiscovery.test.ts:28–32  ·  view source on GitHub ↗
(teamName: string, config: unknown)

Source from the content-addressed store, hash-verified

26})
27
28function writeTeamConfig(teamName: string, config: unknown): void {
29 const teamDir = join(tempHome, 'teams', teamName)
30 mkdirSync(teamDir, { recursive: true })
31 writeFileSync(join(teamDir, 'config.json'), JSON.stringify(config, null, 2))
32}
33
34describe('getTeammateStatuses', () => {
35 test('preserves in-process backend type for lifecycle actions', () => {

Callers 1

Calls 1

mkdirSyncFunction · 0.85

Tested by

no test coverage detected