Skip to content

Commit 69c0063

Browse files
julsqlST-DDT
andauthoredDec 21, 2024··
fix(finance): update Discover card number format to ensure accuracy (#3336)
Co-authored-by: ST-DDT <ST-DDT@gmx.de>
1 parent e0016ad commit 69c0063

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
export default [
22
'/6011-####-####-###L/',
3-
'/6011-62##-####-####-###L/',
43
'/64[4-9]#-####-####-###L/',
5-
'/64[4-9]#-62##-####-####-###L/',
64
'/65##-####-####-###L/',
7-
'/65##-62##-####-####-###L/',
85
];
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
export default [
22
'6011-####-####-###L',
3-
'6011-62##-####-####-###L',
43
'64[4-9]#-####-####-###L',
5-
'64[4-9]#-62##-####-####-###L',
64
'65##-####-####-###L',
7-
'65##-62##-####-####-###L',
85
];

‎test/modules/__snapshots__/finance.spec.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ exports[`finance > 42 > creditCardCVV 1`] = `"397"`;
3434

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

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

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

0 commit comments

Comments
 (0)
Please sign in to comment.