Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sheet): restore code in setStyleCommand #2225

Merged
merged 7 commits into from
May 16, 2024

Conversation

siam-ese
Copy link
Contributor

@siam-ese siam-ese commented May 11, 2024

Incorrectly change the original code. to fix it. Close #685

Copy link

github-actions bot commented May 11, 2024

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link

@wzhudev
Copy link
Member

wzhudev commented May 12, 2024

Please add a unit test.

@siam-ese
Copy link
Contributor Author

siam-ese commented May 13, 2024

Please add a unit test.

The test has been added. Please review again. @wzhudev

@siam-ese siam-ese requested a review from wzhudev May 15, 2024 06:30
@@ -81,6 +82,52 @@ describe("Test commands used for updating cells' styles", () => {

afterEach(() => univer.dispose());

describe('set style', () => {
Copy link
Member

Choose a reason for hiding this comment

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

No need to wrap the case in a describe.

Copy link

codecov bot commented May 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 30.84%. Comparing base (b321a2e) to head (175c748).

❗ Current head 175c748 differs from pull request most recent head 79acd2f. Consider uploading reports for the commit 79acd2f to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #2225   +/-   ##
=======================================
  Coverage   30.83%   30.84%           
=======================================
  Files        1377     1377           
  Lines       70710    70710           
  Branches    14873    14873           
=======================================
+ Hits        21804    21807    +3     
+ Misses      48906    48903    -3     

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

@siam-ese siam-ese merged commit e1f4a37 into dream-num:dev May 16, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants