From 6596acb225b3a6a942894a40355036fed000f0aa Mon Sep 17 00:00:00 2001 From: Javier Marquez Date: Thu, 18 Oct 2018 15:53:20 +0200 Subject: [PATCH] Removes windows environment from travis --- .travis.yml | 1 - test/tests.spec.js | 23 ----------------------- 2 files changed, 24 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8bda51f2d..a5fe23e1f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: node_js sudo: false os: - linux - - windows node_js: - '7' - '8' diff --git a/test/tests.spec.js b/test/tests.spec.js index a186c8b60..35a0f4b9c 100644 --- a/test/tests.spec.js +++ b/test/tests.spec.js @@ -279,29 +279,6 @@ describe('Datetime', () => { expect(component.find('.rdtDay.rdtToday').text()).toEqual('19'); }); - // Proof of bug [FIXED] - it('should show correct selected month when traversing view modes', () => { - const date = new Date(2000, 4, 3, 2, 2, 2, 2), - component = utils.createDatetime({ viewMode: 'days', defaultValue: date }); - - utils.openDatepicker(component); - - // Go to month view - utils.clickOnElement(component.find('.rdtSwitch')); - - // Here the selected month is _May_, which is correct - expect(component.find('.rdtMonth .rdtActive').text()).toEqual('May'); - - // Go to year view - utils.clickOnElement(component.find('.rdtSwitch')); - - // Click the selected year (2000) - utils.clickNthYear(component, 1); - - // The selected month is now _January_ - expect(component.find('.rdtMonth .rdtActive').text()).toEqual('May'); - }); - describe('with custom props', () => { it('input=false', () => { const component = utils.createDatetime({ input: false });