DTStack / molecule

:rocket: A lightweight Web IDE UI framework.
https://dtstack.github.io/molecule/
Other
879 stars 125 forks source link

fix: fix model's value not change and add onEditorInstanceMount event #882

Closed mortalYoung closed 9 months ago

mortalYoung commented 9 months ago

Description

Related Issues

close #881
close #880 close #866

codecov[bot] commented 9 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (57804b6) 91.00% compared to head (3fe0e90) 90.94%.

Files Patch % Lines
src/controller/editor.tsx 0.00% 3 Missing :warning:
src/services/workbench/editorService.ts 87.50% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #882 +/- ## ========================================== - Coverage 91.00% 90.94% -0.06% ========================================== Files 188 188 Lines 6080 6085 +5 Branches 1478 1476 -2 ========================================== + Hits 5533 5534 +1 - Misses 541 545 +4 Partials 6 6 ```

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

mumiao commented 9 months ago

测试覆盖率有点问题,看下要不要修复

mortalYoung commented 9 months ago

测试覆盖率有点问题,看下要不要修复

不补啦,editor controller 的覆盖率一直比较低,service 的我加了已经