diff --git a/modules/route/front/main/index.spec.js b/modules/route/front/main/index.spec.js index 8aa4b5742..2c7ef16c4 100644 --- a/modules/route/front/main/index.spec.js +++ b/modules/route/front/main/index.spec.js @@ -49,13 +49,13 @@ describe('Route Component vnRoute', () => { 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 has 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'); }); }); });