Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(api): The project map now applies priceType and projectSizeFilter… #143

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

alepefe
Copy link
Collaborator

@alepefe alepefe commented Dec 9, 2024

… filters
This pull request introduces new filtering capabilities to the ProjectsMapRepository and adds corresponding tests to ensure these filters work as expected. The most important changes include the addition of projectSizeFilter and priceType filters in the repository, and the creation of integration tests to verify these filters.

Repository Enhancements:

  • Added projectSizeFilter to the ProjectsMapRepository to filter projects by size.
  • Added priceType to the ProjectsMapRepository to filter projects by price type.

Testing Enhancements:

  • Imported PROJECT_PRICE_TYPE and PROJECT_SIZE_FILTER in project-map.spec.ts to support new tests.
  • Added integration test to verify that projects can be filtered by priceType.
  • Added integration test to verify that projects can be filtered by projectSizeFilter.

Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tnc-blue-carbon-cost-tool-ghps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 9, 2024 8:45pm

@alepefe alepefe merged commit d680ce9 into dev Dec 9, 2024
4 checks passed
@alepefe alepefe deleted the bug/TBCCT-156 branch December 9, 2024 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant