mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-27 21:44:25 -07:00
fix(core): update system prompt snapshots for non-interactive scaffolding
This commit is contained in:
@@ -67,8 +67,10 @@ describe('interactive_commands', () => {
|
||||
).toBeDefined();
|
||||
expect(
|
||||
scaffoldCall?.toolRequest.args,
|
||||
'Agent should have passed a non-interactive flag (-y, --yes, or a specific --template)',
|
||||
).toMatch(/(?:^|\s)(--yes|-y|--template\s+\S+)(?:\s|$|\\|")/);
|
||||
'Agent should have passed a non-interactive flag (-y, --yes, --no-interactive, or a specific --template)',
|
||||
).toMatch(
|
||||
/(?:^|\s)(--yes|-y|--no-interactive|--template\s+\S+)(?:\s|$|\\|")/,
|
||||
);
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user