-
-
Notifications
You must be signed in to change notification settings - Fork 714
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
Conversation
View Deployment
|
Please add a unit test. |
The test has been added. Please review again. @wzhudev |
packages/sheets/src/commands/commands/__tests__/set-style.command.spec.ts
Outdated
Show resolved
Hide resolved
packages/sheets/src/commands/commands/__tests__/set-style.command.spec.ts
Outdated
Show resolved
Hide resolved
packages/sheets/src/commands/commands/__tests__/set-style.command.spec.ts
Outdated
Show resolved
Hide resolved
packages/sheets/src/commands/commands/__tests__/set-style.command.spec.ts
Outdated
Show resolved
Hide resolved
@@ -81,6 +82,52 @@ describe("Test commands used for updating cells' styles", () => { | |||
|
|||
afterEach(() => univer.dispose()); | |||
|
|||
describe('set style', () => { |
There was a problem hiding this comment.
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
.
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. |
Incorrectly change the original code. to fix it. Close #685