Skip to content

Commit

Permalink
feat:[PAYM-2001] Added '30_days' term to 'SUPERPAY_TERMS'
Browse files Browse the repository at this point in the history
  • Loading branch information
fv.tokarev committed Aug 8, 2024
1 parent 2a0c770 commit 739473f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/PaymentTerm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const SUPERPAY_TERMS = [
'10_days',
'15_days',
'20_days',
'30_days'
] as const;

export type SuperPayTerm = typeof SUPERPAY_TERMS[number];
Expand Down
4 changes: 4 additions & 0 deletions src/__tests__/PaymentTerm.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ it('formats superpay', () => {
"20_days",
"20 Business Days",
],
Array [
"30_days",
"30 Business Days",
],
]
`);
});
1 change: 1 addition & 0 deletions src/__tests__/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ it('exports public api', () => {
"10_days",
"15_days",
"20_days",
"30_days",
],
"VEHICLE_TYPES": Array [
"sedan",
Expand Down

0 comments on commit 739473f

Please sign in to comment.