Skip to content

Commit

Permalink
Update test names
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdoming committed Oct 19, 2024
1 parent c657e7a commit bdeb3cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/loot-core/src/server/accounts/rules.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ describe('Rule', () => {
);
});

test('generate errors on fixed amounts less than total', () => {
test('generate errors when fixed amounts exceed the total', () => {
expect(
fixedAmountRule.exec({ imported_payee: 'James', amount: 100 }),
).toMatchObject({
Expand All @@ -689,7 +689,7 @@ describe('Rule', () => {
});
});

test('generate errors on fixed amounts more than total', () => {
test('generate errors when fixed amounts undershoot the total', () => {
expect(
fixedAmountRule.exec({ imported_payee: 'James', amount: 300 }),
).toMatchObject({
Expand Down

0 comments on commit bdeb3cb

Please sign in to comment.