Fix mock isolation in scope-filtering.test.ts

- Narrow mock.module() targets to prevent barrel export contamination
- Ensure proper cleanup after tests

🤖 GENERATED WITH ASSISTANCE OF OhMyOpenCode
This commit is contained in:
YeonGyu-Kim
2026-04-04 18:56:48 +09:00
parent 80c8a793ec
commit f7d2ff75a7
@@ -15,7 +15,7 @@ describe("loadMcpConfigs", () => {
homedir: () => TEST_HOME,
tmpdir,
}))
mock.module("../../shared", () => ({
mock.module("../../shared/claude-config-dir", () => ({
getClaudeConfigDir: () => join(TEST_HOME, ".claude"),
}))
mock.module("../../shared/logger", () => ({