From 70b99c451c0cbe1ffcfe9e29af834f41bec56fbf Mon Sep 17 00:00:00 2001 From: "Arthur E. Jones" <PartyLich@gmail.com> Date: Fri, 8 Jul 2022 06:58:55 -0500 Subject: [PATCH] test: add invalid length date test cases --- .../src/components/modals/ImportTransactions.test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/loot-design/src/components/modals/ImportTransactions.test.js b/packages/loot-design/src/components/modals/ImportTransactions.test.js index 2fc22514d..1c5b35f52 100644 --- a/packages/loot-design/src/components/modals/ImportTransactions.test.js +++ b/packages/loot-design/src/components/modals/ImportTransactions.test.js @@ -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) { -- GitLab