chore: Increase coverage and make codecov more precise by tux-tn · Pull Request #1658 · validatorjs/validator.js

@tux-tn

Hello

  • fix: remove typo and remove unnecessary conditions from isTaxid for pt-BR locale
  • tests: add more test cases in isTaxid for pt-BR locale
  • chore: update CI config to allow more precise codecov coverage (show branches coverage on new Pull requests) by switch from lcov reporting to cobertura

Coverage diff:
Before
Capture d’écran 2021-04-26 à 11 51 53 AM
After
Capture d’écran 2021-04-26 à 11 52 42 AM

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)

@tux-tn

@tux-tn

Switch from lcov to cobertura to allow handling branch coverage on PR reports

@codecov

profnandaa

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.