Files
apartment-dashboard-api/__tests__/scraper
Stephen Minakian 6fad40eb2a
All checks were successful
CI/CD Pipeline - Apartment API / Scan Dependencies (pull_request) Successful in 15s
CI/CD Pipeline - Apartment API / Lint & Test (pull_request) Successful in 43s
CI/CD Pipeline - Apartment API / Send Webhook Notification (pull_request) Successful in 2s
CI/CD Pipeline - Apartment API / Build & Push Image (pull_request) Has been skipped
CI/CD Pipeline - Apartment API / Deploy to Production (pull_request) Has been skipped
Add fixture-based unit tests for parseUnits()
Add 6 new tests using sample-listing-empty.html and
sample-listing-call.html fixtures:

- Verify empty section container returns empty array
- Verify zero-count logging for empty fixtures
- Verify extraction of "Call for pricing" units
- Verify raw string preservation for price fields
- Verify all attribute extraction from call-for-pricing units
- Verify image_url handling when img elements are absent

Total parseUnits test coverage: 28 tests across 9 describe blocks.
2026-02-07 11:07:06 -07:00
..