mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
refactor: set correct log level (#478)
* refactor: set correct log level Signed-off-by: rare-magma <rare-magma@posteo.eu> * docs: set correct pr number Signed-off-by: rare-magma <rare-magma@posteo.eu> --------- Signed-off-by: rare-magma <rare-magma@posteo.eu>
This commit is contained in:
@@ -28,7 +28,7 @@ export default {
|
||||
accessValidForDays: 90,
|
||||
|
||||
normalizeAccount(account) {
|
||||
console.log(
|
||||
console.debug(
|
||||
'Available account properties for new institution integration',
|
||||
{ account: JSON.stringify(account) },
|
||||
);
|
||||
@@ -66,7 +66,7 @@ export default {
|
||||
},
|
||||
|
||||
sortTransactions(transactions = []) {
|
||||
console.log(
|
||||
console.debug(
|
||||
'Available (first 10) transactions properties for new integration of institution in sortTransactions function',
|
||||
{ top10Transactions: JSON.stringify(transactions.slice(0, 10)) },
|
||||
);
|
||||
@@ -74,7 +74,7 @@ export default {
|
||||
},
|
||||
|
||||
calculateStartingBalance(sortedTransactions = [], balances = []) {
|
||||
console.log(
|
||||
console.debug(
|
||||
'Available (first 10) transactions properties for new integration of institution in calculateStartingBalance function',
|
||||
{
|
||||
balances: JSON.stringify(balances),
|
||||
|
||||
@@ -9,7 +9,7 @@ describe('IntegrationBank', () => {
|
||||
let consoleSpy;
|
||||
|
||||
beforeEach(() => {
|
||||
consoleSpy = jest.spyOn(console, 'log');
|
||||
consoleSpy = jest.spyOn(console, 'debug');
|
||||
});
|
||||
|
||||
describe('normalizeAccount', () => {
|
||||
|
||||
6
upcoming-release-notes/478.md
Normal file
6
upcoming-release-notes/478.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [rare-magma]
|
||||
---
|
||||
|
||||
Set correct log level for bank integration messages
|
||||
Reference in New Issue
Block a user