mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-04 15:16:49 -07:00
test: fix resolution paths for acpClient, topic-policy, and update golden files
This commit is contained in:
@@ -14,7 +14,7 @@ import { UPDATE_TOPIC_TOOL_NAME } from '../tools/tool-names.js';
|
||||
describe('Topic Tool Policy', () => {
|
||||
async function loadDefaultPolicies() {
|
||||
// Path relative to packages/core root
|
||||
const policiesDir = path.resolve(process.cwd(), 'src/policy/policies');
|
||||
const policiesDir = path.resolve(__dirname, 'policies');
|
||||
const getPolicyTier = () => 1; // Default tier
|
||||
const result = await loadPoliciesFromToml([policiesDir], getPolicyTier);
|
||||
return result.rules;
|
||||
|
||||
@@ -261,4 +261,4 @@
|
||||
"model": "gemini-3-flash-preview",
|
||||
"generateContentConfig": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -261,4 +261,4 @@
|
||||
"model": "gemini-3-flash-preview",
|
||||
"generateContentConfig": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user