Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

Conversation

@susiwen8
Copy link
Contributor

@zombieJ New fix based on our discussion. Thanks for your advise.

@codecov
Copy link

codecov bot commented Apr 29, 2019

Codecov Report

Merging #556 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #556      +/-   ##
=========================================
+ Coverage   89.68%   89.7%   +0.01%     
=========================================
  Files          10      10              
  Lines         708     709       +1     
  Branches      209     210       +1     
=========================================
+ Hits          635     636       +1     
  Misses         63      63              
  Partials       10      10
Impacted Files Coverage Δ
src/RangeCalendar.js 87.96% <100%> (+0.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fb140f4...e6f5caa. Read the comment docs.

expect(wrapper.find('.rc-calendar-month-select').at(0).text()).toEqual('Sep');
expect(wrapper.find('.rc-calendar-month-select').at(1).text()).toEqual('Oct');
});
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems this test could be same start & end date but different time. We should mock the click operation to open time panel and check if start & end are the same date.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zombieJ I have rewrite test case, please check

@zombieJ zombieJ merged commit 6fac6a8 into react-component:master Apr 29, 2019
@susiwen8 susiwen8 deleted the endValue branch April 29, 2019 05:37
@zombieJ
Copy link
Member

zombieJ commented Apr 29, 2019

fix ant-design/ant-design#16215

@afc163
Copy link
Member

afc163 commented May 13, 2019

ant-design/ant-design#16215 is not fixed because antd still stuck in rc-calendar@9.12.x

@susiwen8
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants