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
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user