7837-testToMaster_2432 #592
|
@ -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');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue