frontTest
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
2bb9125eee
commit
9abf23072a
|
@ -72,5 +72,23 @@ describe('Client', () => {
|
||||||
expect(controller.vnApp.showSuccess).toHaveBeenCalled();
|
expect(controller.vnApp.showSuccess).toHaveBeenCalled();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe('deliveredAmount() setter', () => {
|
||||||
|
it('should set the deliveredAmount property', () => {
|
||||||
|
controller.amountPaid = 999;
|
||||||
|
controller.deliveredAmount = 1000;
|
||||||
|
|
||||||
|
expect(controller.amountToReturn).toEqual(1);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('accountShortToStandard()', () => {
|
||||||
|
it('should get de account in stardard format', () => {
|
||||||
|
const shortAccount = '4.3';
|
||||||
|
controller.accountShortToStandard(shortAccount);
|
||||||
|
|
||||||
|
expect(controller.receipt.compensationAccount).toEqual('4000000003');
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue