File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
packages/main/src/backend/export/outputVendors/ynab Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ import * as ynab from './ynab';
6
6
import ClearedEnum = SaveTransaction . ClearedEnum ;
7
7
8
8
describe ( 'ynab' , ( ) => {
9
- describe ( 'isSameTransaction(Payee changed) ' , ( ) => {
9
+ describe ( 'isSameTransaction' , ( ) => {
10
10
test ( 'Two transactions with different payee names should be considered the same if they have the same import id' , ( ) => {
11
- const transferTransactionFromYnab : TransactionDetail = {
11
+ const differentPayeeTransactionFromYnab : TransactionDetail = {
12
12
id : '579ae642-d161-4bbe-9d54-ae3322c93cf7' ,
13
13
date : '2019-06-27' ,
14
14
amount : - 1000000 ,
@@ -39,10 +39,8 @@ describe('ynab', () => {
39
39
import_id : '2019-06-27-1000000שיק' ,
40
40
} ;
41
41
42
- expect ( ynab . isSameTransaction ( transactionFromFinancialAccount , transferTransactionFromYnab ) ) . toBeTruthy ( ) ;
42
+ expect ( ynab . isSameTransaction ( transactionFromFinancialAccount , differentPayeeTransactionFromYnab ) ) . toBeTruthy ( ) ;
43
43
} ) ;
44
- } ) ;
45
- describe ( 'isSameTransaction' , ( ) => {
46
44
test ( 'Two transactions with different payee names should be considered the same if one of them is a transfer transaction' , ( ) => {
47
45
const transferTransactionFromYnab : TransactionDetail = {
48
46
id : '579ae642-d161-4bbe-9d54-ae3322c93cf7' ,
You can’t perform that action at this time.
0 commit comments