MCPcopy Create free account
hub / github.com/JordanCoin/codemap / TestConfigPath

Function TestConfigPath

config/config_test.go:159–165  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

157}
158
159func TestConfigPath(t *testing.T) {
160 got := ConfigPath("/my/project")
161 want := filepath.Join("/my/project", ".codemap", "config.json")
162 if got != want {
163 t.Errorf("ConfigPath = %q, want %q", got, want)
164 }
165}
166
167func TestPolicyDefaultsAndClamps(t *testing.T) {
168 t.Run("defaults for empty config", func(t *testing.T) {

Callers

nothing calls this directly

Calls 1

ConfigPathFunction · 0.85

Tested by

no test coverage detected