Skip to content

Commit 6596acb

Browse files
committed
Removes windows environment from travis
1 parent 73d7150 commit 6596acb

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ language: node_js
22
sudo: false
33
os:
44
- linux
5-
- windows
65
node_js:
76
- '7'
87
- '8'

test/tests.spec.js

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -279,29 +279,6 @@ describe('Datetime', () => {
279279
expect(component.find('.rdtDay.rdtToday').text()).toEqual('19');
280280
});
281281

282-
// Proof of bug [FIXED]
283-
it('should show correct selected month when traversing view modes', () => {
284-
const date = new Date(2000, 4, 3, 2, 2, 2, 2),
285-
component = utils.createDatetime({ viewMode: 'days', defaultValue: date });
286-
287-
utils.openDatepicker(component);
288-
289-
// Go to month view
290-
utils.clickOnElement(component.find('.rdtSwitch'));
291-
292-
// Here the selected month is _May_, which is correct
293-
expect(component.find('.rdtMonth .rdtActive').text()).toEqual('May');
294-
295-
// Go to year view
296-
utils.clickOnElement(component.find('.rdtSwitch'));
297-
298-
// Click the selected year (2000)
299-
utils.clickNthYear(component, 1);
300-
301-
// The selected month is now _January_
302-
expect(component.find('.rdtMonth .rdtActive').text()).toEqual('May');
303-
});
304-
305282
describe('with custom props', () => {
306283
it('input=false', () => {
307284
const component = utils.createDatetime({ input: false });

0 commit comments

Comments
 (0)