Skip to content

Commit

Permalink
test: generate mock accounts with last_reconciled as null
Browse files Browse the repository at this point in the history
generate mock accounts with the `last_reconciled` value set to `null`, to match the expected behaviour that new accounts will start with a "Not yet reconciled" status
  • Loading branch information
tostasmistas committed Mar 3, 2025
1 parent 520d0d7 commit a42b559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/loot-core/src/mocks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function generateAccount(
name,
offbudget: offbudget ? 1 : 0,
sort_order: 0,
last_reconciled: new Date().getTime().toString(),
last_reconciled: null,
tombstone: 0,
closed: 0,
...emptySyncFields(),
Expand Down

0 comments on commit a42b559

Please sign in to comment.