polutd test removed

This commit is contained in:
Carlos Jimenez Ruiz 2021-02-02 14:00:35 +01:00
parent b57578f933
commit a0d6e53dbb
2 changed files with 2 additions and 18 deletions

View File

@ -38,20 +38,12 @@ describe('Route Component vnRoute', () => {
expect(params.scopeDays).toEqual(1); expect(params.scopeDays).toEqual(1);
}); });
it('should return a number value in scope days', () => { it('should return the given scope days', () => {
let params = controller.fetchParams({ let params = controller.fetchParams({
scopeDays: 2 scopeDays: 2
}); });
expect(params.scopeDays).toEqual(2); expect(params.scopeDays).toEqual(2);
}); });
it('should throw an error when scope days is not equal a number', () => {
let params = controller.fetchParams({
scopeDays: 'ScopeDayNoNumber'
});
expect(params.scopeDays).toBe('ScopeDayNoNumber');
});
}); });
}); });

View File

@ -38,20 +38,12 @@ describe('Travel Component vnTravel', () => {
expect(params.scopeDays).toEqual(1); expect(params.scopeDays).toEqual(1);
}); });
it('should return a number value in scope days', () => { it('should return the given scope days', () => {
let params = controller.fetchParams({ let params = controller.fetchParams({
scopeDays: 2 scopeDays: 2
}); });
expect(params.scopeDays).toEqual(2); expect(params.scopeDays).toEqual(2);
}); });
it('should throw an error when scope days is not equal a number', () => {
let params = controller.fetchParams({
scopeDays: 'ScopeDayNoNumber'
});
expect(params.scopeDays).toBe('ScopeDayNoNumber');
});
}); });
}); });