test: fix gitlab-error-parser test expectations

Update tests to reflect that 403 (permission denied) and 404
(not found) errors are now non-recoverable, matching the
updated error parser behavior.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
StillKnotKnown
2026-03-13 22:28:54 +02:00
co-authored by Claude Opus 4.6
parent 9492440460
commit 8b279bf1ff
@@ -22,7 +22,7 @@ describe('gitlab-error-parser', () => {
const parsed = parseGitLabError(error);
expect(parsed.code).toBe(GitLabErrorCode.INSUFFICIENT_PERMISSIONS);
expect(parsed.recoverable).toBe(true);
expect(parsed.recoverable).toBe(false);
});
it('should parse 404 not found errors', () => {
@@ -30,7 +30,7 @@ describe('gitlab-error-parser', () => {
const parsed = parseGitLabError(error);
expect(parsed.code).toBe(GitLabErrorCode.PROJECT_NOT_FOUND);
expect(parsed.recoverable).toBe(true);
expect(parsed.recoverable).toBe(false);
});
it('should parse 409 conflict errors', () => {