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 186e3d79b8
commit 90acfe6eac
3 changed files with 50 additions and 8 deletions
@@ -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);