diff --git a/packages/main/src/backend/export/outputVendors/ynab/ynab.test.ts b/packages/main/src/backend/export/outputVendors/ynab/ynab.test.ts index a1466d75..5425aa1a 100644 --- a/packages/main/src/backend/export/outputVendors/ynab/ynab.test.ts +++ b/packages/main/src/backend/export/outputVendors/ynab/ynab.test.ts @@ -8,8 +8,6 @@ import { SaveTransaction, type TransactionDetail } from 'ynab'; import * as ynab from './ynab'; import ClearedEnum = SaveTransaction.ClearedEnum; -// TODO: make tests work again - describe('ynab', () => { describe('isSameTransaction', () => { test('Two transactions with different payee names should be considered the same if one of them is a transfer transaction', () => { diff --git a/packages/main/src/backend/export/outputVendors/ynab/ynab.ts b/packages/main/src/backend/export/outputVendors/ynab/ynab.ts index 47a15e72..012b316c 100644 --- a/packages/main/src/backend/export/outputVendors/ynab/ynab.ts +++ b/packages/main/src/backend/export/outputVendors/ynab/ynab.ts @@ -16,7 +16,6 @@ import { import _ from 'lodash'; import moment from 'moment/moment'; import * as ynab from 'ynab'; -import logger from '/@/logging/logger'; const YNAB_DATE_FORMAT = 'YYYY-MM-DD'; const NOW = moment(); @@ -104,7 +103,7 @@ const createTransactions: ExportTransactionsFunction = async ( allTransactions: transactionsToCreate, }), ); - logger.error('Failed to create transactions in ynab', e); + console.error('Failed to create transactions in ynab', e); throw e; } };