fix: add missing filterByPostalCodePrefix export #8

Merged
jperera merged 1 commit from fix/test-import-bug into main 2026-04-02 20:37:48 +02:00
Owner

Summary

Tests imported filterByPostalCodePrefix but only filterByPostalCodePrefixAndLorca was exported, causing a SyntaxError at test load time. Adds the pure postal-code-prefix filter as a proper named export.

Impact

Fixes all api.test.ts tests (previously 12 tests were skipped due to the import error). All 30 tests now pass.

## Summary Tests imported `filterByPostalCodePrefix` but only `filterByPostalCodePrefixAndLorca` was exported, causing a `SyntaxError` at test load time. Adds the pure postal-code-prefix filter as a proper named export. ## Impact Fixes all `api.test.ts` tests (previously 12 tests were skipped due to the import error). All 30 tests now pass.
Tests imported filterByPostalCodePrefix but only
filterByPostalCodePrefixAndLorca was exported. Add the pure prefix
filter as a proper export so all tests pass.
jperera force-pushed fix/test-import-bug from 9c2e177b83 to 9c3ac62ab5 2026-04-02 20:37:41 +02:00 Compare
jperera deleted branch fix/test-import-bug 2026-04-02 20:37:48 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jperera/gasolineras!8
No description provided.