test: add invalid length date test cases

This commit is contained in:
Arthur E. Jones 2022-07-08 06:58:55 -05:00 committed by James Long
parent e32a916bd2
commit 70b99c451c

View file

@ -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) {