We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a12d44 commit 1f1121cCopy full SHA for 1f1121c
tests/range.spec.tsx
@@ -702,7 +702,8 @@ describe('Picker.Range', () => {
702
wrapper.openPicker(1);
703
wrapper.update();
704
expect(
705
- wrapper.find('.rc-picker-panel-container').props().style?.marginLeft,
+ (wrapper.find('.rc-picker-panel-container').props() as any).style
706
+ .marginLeft,
707
).toEqual(200);
708
});
709
@@ -777,6 +778,11 @@ describe('Picker.Range', () => {
777
778
779
780
expect(wrapper.isOpen()).toBeFalsy();
- expect(wrapper.find('input').first().props().value).toEqual('');
781
+ expect(
782
+ wrapper
783
+ .find('input')
784
+ .first()
785
+ .props().value,
786
+ ).toEqual('');
787
788
0 commit comments