Skip to content

test: enhance Avatar component unit tests#329

Merged
adaex merged 4 commits into
mainfrom
test-avatar-aex
Jun 10, 2025
Merged

test: enhance Avatar component unit tests#329
adaex merged 4 commits into
mainfrom
test-avatar-aex

Conversation

@adaex

@adaex adaex commented Jun 5, 2025

Copy link
Copy Markdown
Collaborator

Add unit tests for the Avatar component to cover various shapes, sizes, and states, as well as tests for the ref functionality and automatic font adjustment.

@adaex adaex requested a review from Copilot June 5, 2025 12:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@adaex adaex added the unit test label Jun 5, 2025
@codecov

codecov Bot commented Jun 5, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.77%. Comparing base (e04f22e) to head (e1b97ae).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #329      +/-   ##
==========================================
+ Coverage   89.71%   89.77%   +0.05%     
==========================================
  Files         141      141              
  Lines        8393     8393              
  Branches     3447     3447              
==========================================
+ Hits         7530     7535       +5     
+ Misses        835      830       -5     
  Partials       28       28              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Jun 5, 2025

Copy link
Copy Markdown

PR Preview Link: https://preview-329-arco-design-mobile.surge.sh

@adaex adaex requested review from tangshumin666 and ziqisia June 10, 2025 11:38
@adaex adaex merged commit 340dbfe into main Jun 10, 2025
7 of 9 checks passed
@adaex adaex deleted the test-avatar-aex branch June 10, 2025 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants