fix(qajobsboard): drop expired LinkedIn reposts and resolve hiring location
CI / Linting (Biome) (push) Failing after 41s
CI / Tests (push) Successful in 6m10s
CI / Type Check (adzuna-extractor) (push) Successful in 1m9s
CI / Type Check (gradcracker-extractor) (push) Successful in 1m13s
CI / Type Check (hiringcafe-extractor) (push) Successful in 1m9s
CI / Type Check (orchestrator) (push) Failing after 1m16s
CI / Type Check (startupjobs-extractor) (push) Successful in 1m9s
CI / Type Check (ukvisajobs-extractor) (push) Successful in 1m10s
CI / Documentation (push) Successful in 1m56s

Probe application links for closed listings and feed expires_at; enrich vague Remote/Worldwide rows with real country before blocked-countries filtering.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-16 17:42:19 -04:00
co-authored by Cursor
parent 0de7f90278
commit d28a6221e4
5 changed files with 252 additions and 30 deletions
@@ -23,6 +23,13 @@ describe("parseQaJobDetailPage", () => {
expect(result?.jobDescription).toContain("Mumbai/Nagpur");
});
it("marks posting expired when validThrough is in the past", () => {
const html = `<script type="application/ld+json">
{"@type":"JobPosting","validThrough":"2020-01-01","title":"Old role"}
</script>`;
expect(parseQaJobDetailPage(html)).toEqual({ expired: true });
});
it("extracts job location lines from plain text", () => {
expect(
extractJobLocationFromText(