Closed zombieJ closed 5 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
util | ✅ Ready (Inspect) | Visit Preview | Mar 6, 2024 6:37am |
Attention: Patch coverage is 69.04762%
with 13 lines
in your changes are missing coverage. Please review.
Project coverage is 90.48%. Comparing base (
871c2c1
) to head (307c616
).
Files | Patch % | Lines |
---|---|---|
src/getScrollBarSize.tsx | 69.04% | 13 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
69.04
69.04
测试盖不住,jsdom 没有真实的 DOM 环境。测试里写的也是假的。
css 设置
scrollbar-color
后会导致::webkit-scrollbar
伪类失效。测量仍然使用::webkit-scrollbar
的数值导致滚动条宽度的计算错误。修复成实际测量值。