Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

326 B
Raw Blame
package hooks

import (
	"os"
	"testing"
)

// TestMain clears CLAUDE_CONFIG_DIR, which a developer's shell may set. Claude Code's user-level
// settings path follows it, and the tests here assume ~/.claude unless they set it themselves.
func TestMain(m *testing.M) {
	_ = os.Unsetenv("CLAUDE_CONFIG_DIR")
	os.Exit(m.Run())
}