feat(test): modify jest test
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
92b916580e
commit
21686b4a92
|
@ -27,6 +27,7 @@ describe('Client', () => {
|
|||
|
||||
describe('bankSelection() setter', () => {
|
||||
it('should set the receipt description property', () => {
|
||||
controller.originalDescription = 'Albaran: 1, 2';
|
||||
controller.bankSelection = {
|
||||
id: 1,
|
||||
bank: 'Cash',
|
||||
|
@ -36,7 +37,7 @@ describe('Client', () => {
|
|||
}
|
||||
};
|
||||
|
||||
expect(controller.receipt.description).toContain('Cash');
|
||||
expect(controller.receipt.description).toEqual('Cash, Albaran: 1, 2');
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue