test: leaving snapshots before and after changes

This commit is contained in:
zy410419243 2019-03-12 15:03:04 +08:00
parent c5290d2ee8
commit 0d4828059a
2 changed files with 2043 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -166,6 +166,7 @@ describe('Calendar', () => {
const onPanelChange = jest.fn();
const date = new Moment('1990-09-03');
const wrapper = mount(<Calendar onPanelChange={onPanelChange} value={date} />);
expect(wrapper).toMatchSnapshot();
expect(wrapper.state().mode).toBe('month');
wrapper
.find('.ant-radio-button-input')