polutd test removed
This commit is contained in:
parent
b57578f933
commit
a0d6e53dbb
|
@ -38,20 +38,12 @@ describe('Route Component vnRoute', () => {
|
|||
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({
|
||||
scopeDays: 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');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -38,20 +38,12 @@ describe('Travel Component vnTravel', () => {
|
|||
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({
|
||||
scopeDays: 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');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue