#6943 fix Customer #526

Merged
alexm merged 24 commits from 6943-fixCustomer into dev 2024-07-24 05:53:37 +00:00
1 changed files with 0 additions and 14 deletions
Showing only changes of commit 08e170bc17 - Show all commits
test/vitest/__tests__/pages/Customer

View File

@ -35,18 +35,4 @@ describe('CustomerPayments', () => {
);
});
});
describe('stateColor()', () => {
it('should return "positive" when isConfirmed property is truthy', async () => {
const result = await vm.stateColor({ isConfirmed: true });
expect(result).toEqual('positive');
});
it('should return "primary" when isConfirmed property is falsy', async () => {
const result = await vm.stateColor({ isConfirmed: false });
expect(result).toEqual('primary');
});
});
});