mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-15 18:15:40 +00:00
test(websearch): cover disabled launch snapshots
This commit is contained in:
1 parent
abc3002e89
commit
9f5706c275
6 files changed
+159
-29
No files matched your search
@@ -4,6 +4,7 @@ import * as os from 'os';
|
||||
import * as path from 'path';
|
||||
|
||||
import {
|
||||
buildCursorClaudeLaunchArgs,
|
||||
executeCursorProfile,
|
||||
generateCursorEnv,
|
||||
resolveCursorImageAnalysisEnv,
|
||||
@@ -19,6 +20,13 @@ const BASE_CONFIG: CursorConfig = {
|
||||
model: 'gpt-5.3-codex',
|
||||
};
|
||||
|
||||
it('disallows native WebSearch without CCS steering when the Cursor snapshot is disabled', () => {
|
||||
const args = buildCursorClaudeLaunchArgs(['smoke'], false);
|
||||
expect(args).toContain('--disallowedTools');
|
||||
expect(args).toContain('WebSearch');
|
||||
expect(args).not.toContain('--append-system-prompt');
|
||||
});
|
||||
|
||||
describe('cursor-profile-executor', () => {
|
||||
let originalCcsHome: string | undefined;
|
||||
let tempDir: string;
|
||||
|
||||
Reference in new issue
Block a user