Skip to content

Commit

Permalink
Merge commit '32fbb8ea6234c780c002db3e518cea5dafce66cb' into temp/bisect
Browse files Browse the repository at this point in the history
  • Loading branch information
baruchiro committed Oct 13, 2024
2 parents 29ba933 + 32fbb8e commit b2e2878
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down
3 changes: 1 addition & 2 deletions packages/main/src/backend/export/outputVendors/ynab/ynab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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;
}
};
Expand Down

0 comments on commit b2e2878

Please sign in to comment.