Skip to content

Commit

Permalink
fix(finance): update Discover card number format to ensure accuracy (#…
Browse files Browse the repository at this point in the history
…3336)

Co-authored-by: ST-DDT <[email protected]>
  • Loading branch information
julsql and ST-DDT authored Dec 21, 2024
1 parent e0016ad commit 69c0063
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions src/locales/el/finance/credit_card/discover.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
export default [
'/6011-####-####-###L/',
'/6011-62##-####-####-###L/',
'/64[4-9]#-####-####-###L/',
'/64[4-9]#-62##-####-####-###L/',
'/65##-####-####-###L/',
'/65##-62##-####-####-###L/',
];
3 changes: 0 additions & 3 deletions src/locales/en/finance/credit_card/discover.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
export default [
'6011-####-####-###L',
'6011-62##-####-####-###L',
'64[4-9]#-####-####-###L',
'64[4-9]#-62##-####-####-###L',
'65##-####-####-###L',
'65##-62##-####-####-###L',
];
2 changes: 1 addition & 1 deletion test/modules/__snapshots__/finance.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ exports[`finance > 42 > creditCardCVV 1`] = `"397"`;

exports[`finance > 42 > creditCardIssuer 1`] = `"discover"`;

exports[`finance > 42 > creditCardNumber > noArgs 1`] = `"6575-6211-0867-0982-1139"`;
exports[`finance > 42 > creditCardNumber > noArgs 1`] = `"6575-1108-6709-8211"`;

exports[`finance > 42 > creditCardNumber > with issuer 1`] = `"4975110867099"`;

Expand Down

0 comments on commit 69c0063

Please sign in to comment.