Skip to content

Commit

Permalink
Add test cards patterns (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
KeinAsylum authored Oct 26, 2023
1 parent 720753f commit 83d4fd0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/app/initialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ creditCardType.addCard({
},
});

creditCardType.addCard({
niceType: 'Test',
type: 'test',
patterns: [3527, 3508],
gaps: [4, 8, 12],
lengths: [16],
code: {
name: 'CVV',
size: 3,
},
});

const initSentry = async (dsn: string) => {
const { init, BrowserTracing, Replay } = await import('@sentry/react');
const { CaptureConsole } = await import('@sentry/integrations');
Expand Down

0 comments on commit 83d4fd0

Please # to comment.