Uh oh!
There was an error while loading. Please reload this page.
fix: can not open in web component - #575
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/react-component/select/krxeowwib |
yoyo837
commented
Nov 28, 2020
Could your add some test case for it? |
Codecov Report
@@ Coverage Diff @@## master #575 +/- ##
==========================================
- Coverage 99.27% 99.17% -0.11%
==========================================
Files 20 20 Lines 967 968 +1 Branches 327 328 +1 ==========================================
Hits 960 960 - Misses 6 7 +1
Partials 1 1
Continue to review full report at Codecov.
|
tmkx
commented
Nov 28, 2020
JSDOM 16.2 includes basic support for custom elements and is available in Jest 26.5 and above. See But...
|
zombieJ
commented
Nov 30, 2020
Thx for contribution. Could you help to provide a test case for this? |
tmkx
commented
Nov 30, 2020
Jest's version is too low to support custom elements. The version of father#umi-test#jest is 24.9.0, but Jest supports it after 26.5. |
yoyo837
commented
Nov 30, 2020
Need upstream supports, you can contribute to them about that also. |
zombieJ
commented
Nov 30, 2020
solution borrowed from react-component/select#575

fix for issue: ant-design/ant-design#27250