Skip to content

Commit

Permalink
chore: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
UnderKoen committed Oct 28, 2024
1 parent 1b0d6ae commit 9a76988
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/loot-core/src/server/accounts/rules.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,10 @@ describe('Action', () => {
testHelper('{{month "2002-07-25"}}', '7');
testHelper('{{year "2002-07-25"}}', '2002');
testHelper('{{format "2002-07-25" "MM yyyy d"}}', '07 2002 25');
testHelper('{{day undefined}}', '');
testHelper('{{month undefined}}', '');
testHelper('{{year undefined}}', '');
testHelper('{{format undefined undefined}}', '');
});

test('{{debug}} should log the item', () => {
Expand Down

0 comments on commit 9a76988

Please sign in to comment.