Changed scope days value to a correct sentence
This commit is contained in:
parent
6bba5ec126
commit
e1db173185
|
@ -49,13 +49,13 @@ describe('Travel Component vnTravel', () => {
|
|||
expect(params.scopeDays).toEqual(2);
|
||||
});
|
||||
|
||||
it('should throw an error when scope days has a string value', () => {
|
||||
it('should throw an error when scope days is not equal a number', () => {
|
||||
let params = controller.fetchParams({
|
||||
scopeDays: 'prueba'
|
||||
scopeDays: 'ScopeDayNoNumber'
|
||||
});
|
||||
if (typeof params.scopeDays !== 'number')
|
||||
|
||||
expect(params.scopeDays).toBe('prueba');
|
||||
expect(params.scopeDays).toBe('ScopeDayNoNumber');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue