ant-design / ant-design-mobile

Essential UI blocks for building mobile web apps.
https://mobile.ant.design
MIT License
11.64k stars 2.4k forks source link

fix(image-viewer): testcase #6380

Closed HuberTRoy closed 1 year ago

HuberTRoy commented 1 year ago

image-viewer的用例会互相影响到,写的时候用了only没注意到这个= =,将两个用例合并到一起了。

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 95.12% and project coverage change: +0.52% :tada:

Comparison is base (c1d4a90) 91.56% compared to head (e7c1231) 92.09%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #6380 +/- ## ========================================== + Coverage 91.56% 92.09% +0.52% ========================================== Files 306 306 Lines 6592 6615 +23 Branches 1628 1635 +7 ========================================== + Hits 6036 6092 +56 + Misses 521 489 -32 + Partials 35 34 -1 ``` | [Files Changed](https://app.codecov.io/gh/ant-design/ant-design-mobile/pull/6380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/components/image-viewer/slide.tsx](https://app.codecov.io/gh/ant-design/ant-design-mobile/pull/6380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2NvbXBvbmVudHMvaW1hZ2Utdmlld2VyL3NsaWRlLnRzeA==) | `89.62% <94.59%> (+31.22%)` | :arrow_up: | | [src/components/image-viewer/image-viewer.tsx](https://app.codecov.io/gh/ant-design/ant-design-mobile/pull/6380?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2NvbXBvbmVudHMvaW1hZ2Utdmlld2VyL2ltYWdlLXZpZXdlci50c3g=) | `95.45% <100.00%> (+0.10%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 1 year ago

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6380.surge.sh