All files / src/locale/en/finance creditCard.js

100% Statements 44/44
100% Branches 0/0
100% Functions 0/0
100% Lines 44/44

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 451x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
export default {
  'american express': ['34##-######-####L', '37##-######-####L'],
  'diners club': ['30[0-5]#-######-###L', '36##-######-###L', '54##-####-####-###L'],
  discover: [
    '6011-####-####-###L',
    '65##-####-####-###L',
    '64[4-9]#-####-####-###L',
    '6011-62##-####-####-###L',
    '65##-62##-####-####-###L',
    '64[4-9]#-62##-####-####-###L'
  ],
  instapayament: ['63[7-9]#-####-####-###L'],
  jcb: ['3528-####-####-###L', '3529-####-####-###L', '35[3-8]#-####-####-###L'],
  laser: [
    '6304###########L',
    '6706###########L',
    '6771###########L',
    '6709###########L',
    '6304#########{5,6}L',
    '6706#########{5,6}L',
    '6771#########{5,6}L',
    '6709#########{5,6}L'
  ],
  maestro: [
    '5018-#{4}-#{4}-#{3}L',
    '5020-#{4}-#{4}-#{3}L',
    '5038-#{4}-#{4}-#{3}L',
    '5893-#{4}-#{4}-#{3}L',
    '6304-#{4}-#{4}-#{3}L',
    '6759-#{4}-#{4}-#{3}L',
    '676[1-3]-####-####-###L',
    '5018#{11,15}L',
    '5020#{11,15}L',
    '5038#{11,15}L',
    '5893#{11,15}L',
    '6304#{11,15}L',
    '6759#{11,15}L',
    '676[1-3]#{11,15}L'
  ],
  mastercard: ['5[1-5]##-####-####-###L', '6771-89##-####-###L'],
  solo: ['6767-####-####-###L', '6767-####-####-####-#L', '6767-####-####-####-##L'],
  switch: ['6759-####-####-###L', '6759-####-####-####-#L', '6759-####-####-####-##L'],
  visa: ['4###########L', '4###-####-####-###L']
};