test: add invalid length date test cases
This commit is contained in:
parent
e32a916bd2
commit
70b99c451c
1 changed files with 4 additions and 1 deletions
|
@ -24,7 +24,10 @@ describe('Import transactions', function() {
|
|||
{ str: '04 31 2020', order: 'mm dd yyyy' },
|
||||
{ str: '06 31 2020', order: 'mm dd yyyy' },
|
||||
{ str: '09 31 2020', order: 'mm dd yyyy' },
|
||||
{ str: '11 31 2020', order: 'mm dd yyyy' }
|
||||
{ str: '11 31 2020', order: 'mm dd yyyy' },
|
||||
{ str: '2046 31 2020', order: 'mm dd yyyy' },
|
||||
{ str: '2011 31 2020', order: 'mm dd yy' },
|
||||
{ str: '2020', order: 'mm dd yy' }
|
||||
];
|
||||
|
||||
for (const { str, order } of invalidInputs) {
|
||||
|
|
Loading…
Reference in a new issue