From 8fbab3867cc736c8d10b131219bb4c4f34a92b56 Mon Sep 17 00:00:00 2001 From: Joel Jeremy Marquez Date: Sat, 19 Oct 2024 08:38:50 -0700 Subject: [PATCH] Fix test --- .../transactions/TransactionsTable.test.jsx | 45 ++++++++++--------- 1 file changed, 24 insertions(+), 21 deletions(-) diff --git a/packages/desktop-client/src/components/transactions/TransactionsTable.test.jsx b/packages/desktop-client/src/components/transactions/TransactionsTable.test.jsx index d8d58265f83..9bac4590ebf 100644 --- a/packages/desktop-client/src/components/transactions/TransactionsTable.test.jsx +++ b/packages/desktop-client/src/components/transactions/TransactionsTable.test.jsx @@ -5,6 +5,7 @@ import userEvent from '@testing-library/user-event'; import { format as formatDate, parse as parseDate } from 'date-fns'; import { v4 as uuidv4 } from 'uuid'; +import { SchedulesProvider } from 'loot-core/src/client/data-hooks/schedules'; import { SpreadsheetProvider } from 'loot-core/src/client/SpreadsheetProvider'; import { generateTransaction, @@ -145,27 +146,29 @@ function LiveTransactionTable(props) { - transactions.map(t => t.id)} - > - - {}} - commonPayees={[]} - payees={payees} - addNotification={n => console.log(n)} - onSave={onSave} - onSplit={onSplit} - onAdd={onAdd} - onAddSplit={onAddSplit} - onCreatePayee={onCreatePayee} - /> - - + + transactions.map(t => t.id)} + > + + {}} + commonPayees={[]} + payees={payees} + addNotification={n => console.log(n)} + onSave={onSave} + onSplit={onSplit} + onAdd={onAdd} + onAddSplit={onAddSplit} + onCreatePayee={onCreatePayee} + /> + + +