ant-design / cssinjs

https://ant-design.github.io/cssinjs
MIT License
236 stars 59 forks source link

fix: transformer support calc grammar #112

Open a755956503 opened 1 year ago

a755956503 commented 1 year ago

调整transform方法带括号时,使用数组进行中间信息保存,还原时添加空格 fix #111

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (441a3af) 96.07% compared to head (d63226a) 96.07%.

:exclamation: Current head d63226a differs from pull request most recent head cda9a7a. Consider uploading reports for the commit cda9a7a to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #112 +/- ## ======================================= Coverage 96.07% 96.07% ======================================= Files 22 22 Lines 1706 1706 Branches 286 286 ======================================= Hits 1639 1639 Misses 67 67 ``` | [Impacted Files](https://app.codecov.io/gh/ant-design/cssinjs/pull/112?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/transformers/legacyLogicalProperties.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/112?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL3RyYW5zZm9ybWVycy9sZWdhY3lMb2dpY2FsUHJvcGVydGllcy50cw==) | `98.93% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

MadCcc commented 1 year ago

能写个测试用例么

afc163 commented 5 months ago

能写个测试用例么