mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-09-17 00:26:26 +00:00
Extend the offline CLI contract tests to the two remaining Danish portal CLIs. Both implement the documented error contract (JSON errors on stderr, exit 1) but had no test locking it in: - jobindex-search: search without --query, detail without an ID, and bunli numeric-option validation (--page not-a-number) - jobnet-search: detail without an ID, occupations without --search-string, suggestions without --query, and numeric-option validation All asserted paths exit before any network request, matching the no-live-portal-requests CI policy. Assertions were written against observed CLI output, not assumed shapes.