dataverse-client-javascript
dataverse-client-javascript copied to clipboard
Fix branch test coverage in classes with 0% coverage and restore branch expected coverage back to 95%
The pre-commit hook was failing because it expected 95% branch coverage, but certain classes (GetCollection and GetCollectionFacets) were showing 0% branch coverage, even though we have test cases that should cover these branches.
To temporarily resolve this issue, we lowered the required branch coverage to 90% for the pre-commit hook to pass. However, we need to investigate the cause of this discrepancy, fix the issue, and restore the required branch coverage back to 95%