Commit db0a402
authored
chore(isTaxID): test against valid and invalid US TIN prefixes (#1408)
The existing isTaxId validation tests only checked the format,
while the validation code also tests for valid (US campus)
prefixes. The added tests, check that the prefix validations
actually work.1 parent 28f7f65 commit db0a402
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8660 | 8660 | | |
8661 | 8661 | | |
8662 | 8662 | | |
8663 | | - | |
| 8663 | + | |
| 8664 | + | |
| 8665 | + | |
| 8666 | + | |
| 8667 | + | |
| 8668 | + | |
| 8669 | + | |
8664 | 8670 | | |
8665 | 8671 | | |
8666 | 8672 | | |
8667 | 8673 | | |
8668 | | - | |
| 8674 | + | |
| 8675 | + | |
| 8676 | + | |
| 8677 | + | |
8669 | 8678 | | |
8670 | 8679 | | |
8671 | 8680 | | |
| |||
8678 | 8687 | | |
8679 | 8688 | | |
8680 | 8689 | | |
| 8690 | + | |
| 8691 | + | |
| 8692 | + | |
8681 | 8693 | | |
8682 | 8694 | | |
8683 | 8695 | | |
| |||
0 commit comments