alibaba / formily

📱🚀 🧩 Cross Device & High Performance Normal Form/Dynamic(JSON Schema) Form/Form Builder -- Support React/React Native/Vue 2/Vue 3
https://formilyjs.org/
MIT License
11.36k stars 1.48k forks source link

test(core): array.spec.test 容错部分将注释替换为 expect, 并将注释中的错误进行修正 #3861

Closed charlzyx closed 1 year ago

charlzyx commented 1 year ago

Before submitting a pull request, please make sure the following is done...

Please do not delete the above content


What have you changed?

core/src/tests/array.spec.test 容错部分test('fault tolerance', () => {} 部分测试注释不正确, 调整如下

  1. 注释改为 expect
  2. 修正错误部分(依据为当前 formily_next 分支实际运行结果)

在尝试修复 https://github.com/alibaba/formily/pull/3855#issuecomment-1596682183 这个问题, 发现一些测试用例不全, 注释错误, 给于修正。

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (b3edf2d) 96.58% compared to head (30214b5) 96.58%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## formily_next #3861 +/- ## ============================================= Coverage 96.58% 96.58% ============================================= Files 152 152 Lines 6675 6675 Branches 1860 1801 -59 ============================================= Hits 6447 6447 Misses 228 228 ```

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