Jest issue TypeError: generateConfig[fn] is not a function
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- react, typescript
- Lĩnh vực
- frontend, testing-qa
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện Jest TypeError và theo dõi quá trình thực thi qua antd/node_modules/rc-picker/lib/utils/dateUtil.js và PickerInput/hooks/useRangePickerValue.js. Issue không cung cấp cách tái hiện hoặc vị trí của test, vì vậy trước tiên hãy xác định cấu hình gây ra lỗi, sau đó thêm regression test và xác minh rằng lỗi không còn xảy ra.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
detail: TypeError: generateConfig[fn] is not a function
at /home/frontend/node_modules/antd/node_modules/rc-picker/lib/utils/dateUtil.js:157:35
at Array.forEach (<anonymous>)
at forEach (/home/frontend/node_modules/antd/node_modules/rc-picker/lib/utils/dateUtil.js:153:9)
at /home/frontend/node_modules/antd/node_modules/rc-picker/lib/PickerInput/hooks/useRangePickerValue.js:84:59
at nextCreate (/home/frontend/node_modules/react-dom/cjs/react-dom.development.js:15846:19)
at Object.mountMemo [as useMemo] (/home/frontend/node_modules/react-dom/cjs/react-dom.development.js:16219:16)
at Object.useMemo (/home/frontend/node_modules/react/cjs/react.development.js:1532:21)
at useMemo (/home/frontend/node_modules/antd/node_modules/rc-picker/lib/PickerInput/hooks/useRangePickerValue.js:80:34)
at Picker (/home/frontend/node_modules/antd/node_modules/rc-picker/lib/PickerInput/SinglePicker.js:200:63)
- Ngôn ngữ chính
- TypeScript
- Star
- 304
- Fork
- 347
- Merge trung bình
- 1 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của react-component/picker
-
Disabled date entered manually is not reverted on blurCó thể đã có người làm @Ye-YiChen đã nhận 1 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
react-component/picker#1018 · 1 bình luận ·
-
enter date manually in format YY prevent the user to add YYYYCó thể đã có người làm @nrps9909 đã nhận 45 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
react-component/picker#956 · 1 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
react-component/picker#955 · 1 bình luận · 1 reaction ·
-
[Bug / DX]: Deep imports for generateConfig are incompatible with pnpm and break module resolutionCó thể đã có người làm @DanielChutkowskiJMMJ đã nhận 327 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
react-component/picker#949 ·
-
DatePicker does not trigger onChange when manually clearing input textCó thể đã có người làm @nrps9909 đã nhận 45 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
react-component/picker#946 ·
Tất cả issue của react-component/picker
Issue tương tự
-
area:deploy task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
wilanis/wilanis-js#1017 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
modelcontextprotocol/servers#5133 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
budget bug feature frontend good-issue medium needs-review OSCI'26 payments
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
SatyamPandey-07/WorkSphere#5990 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
lugassawan/swe-workbench#799 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug good first issue javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
yukikotani231/sqlsift#326 ·
Maintainer thường phản hồi trong vòng 1 ngày