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

feat/TBCCT-248 test(api): [Add tests to ensure validation constraints for WIP excel … #222

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

alepefe
Copy link
Collaborator

@alepefe alepefe commented Jan 12, 2025

This pull request adds new integration tests for the EntityPreprocessor class in the api/test/integration/import/entity.preprocessor.spec.ts file. These tests ensure that the EntityPreprocessor correctly applies validation constraints when converting raw data to database entities.

New integration tests:

  • Added a test to verify that valid raw data is correctly processed into database entities.
  • Added a test to ensure that an exception is thrown when the scorecard rating for a project cannot be computed.

Copy link

vercel bot commented Jan 12, 2025

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 Jan 12, 2025 1:52pm

@alepefe alepefe merged commit 14be8ec into dev Jan 12, 2025
4 checks passed
@alepefe alepefe deleted the feat/TBCCT-248 branch January 12, 2025 13:53
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