docs: clarify wildcard policy flag in enterprise controls

test: fix outdated test description referring to YOLO mode
This commit is contained in:
Spencer
2026-03-20 06:43:07 +00:00
parent 402553be41
commit 9a4ead65e7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ preferred method for enforcing policy.
**Enabled/Disabled** | Default: enabled
If enabled, users will not be able to use the `--yolo` flag or wildcard tool
policies.
policies (e.g. `--allowed-tools=*`).
### Extensions
+1 -1
View File
@@ -1738,7 +1738,7 @@ describe('setApprovalMode with folder trust', () => {
cwd: '.',
};
it('should throw an error when setting YOLO mode in an untrusted folder', () => {
it('should throw an error when setting PLAN mode in an untrusted folder', () => {
const config = new Config(baseParams);
vi.spyOn(config, 'isTrustedFolder').mockReturnValue(false);
expect(() => config.setApprovalMode(ApprovalMode.PLAN)).toThrow(