fix(core): prioritize detailed error messages for code assist setup (#17852)

This commit is contained in:
Gaurav
2026-02-02 20:27:55 -08:00
committed by GitHub
parent 5b254c379c
commit 1b274b081d
3 changed files with 50 additions and 8 deletions

View File

@@ -305,6 +305,9 @@ describe('clipboardUtils', () => {
});
it('should return null if tool is not yet detected', async () => {
// Unset session type to ensure no tool is detected automatically
delete process.env['XDG_SESSION_TYPE'];
// Don't prime the tool
const result = await clipboardUtils.saveClipboardImage(mockTargetDir);
expect(result).toBe(null);