Updated unit test
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-09-23 14:20:41 +02:00
parent a8589d6945
commit 75ac6ad8d3
1 changed files with 1 additions and 0 deletions

View File

@ -160,6 +160,7 @@ describe('Ticket', () => {
describe('agencyModeId() setter', () => {
it('should set agencyModeId property and call getLanded() method', () => {
jest.spyOn(controller, 'getLanded');
controller.$.agencyMode = {selection: {warehouseFk: 1}};
const shipped = new Date();
const agencyModeId = 8;
const expectedResult = {