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

test(core): add designable tests #1972

Merged
merged 1 commit into from
Aug 9, 2021
Merged

Conversation

janryWang
Copy link
Collaborator

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

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from master or formily_next.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

Please do not delete the above content


What have you changed?

@codecov
Copy link

codecov bot commented Aug 9, 2021

Codecov Report

Merging #1972 (906958c) into formily_next (48f574e) will increase coverage by 0.62%.
The diff coverage is 97.70%.

Impacted file tree graph

@@               Coverage Diff                @@
##           formily_next    #1972      +/-   ##
================================================
+ Coverage         92.70%   93.32%   +0.62%     
================================================
  Files               136      137       +1     
  Lines              6114     6144      +30     
  Branches           1520     1471      -49     
================================================
+ Hits               5668     5734      +66     
+ Misses              442      406      -36     
  Partials              4        4              
Impacted Files Coverage Δ
packages/core/src/models/Form.ts 99.38% <90.00%> (-0.32%) ⬇️
packages/core/src/models/ArrayField.ts 100.00% <100.00%> (ø)
packages/core/src/models/Field.ts 99.21% <100.00%> (+<0.01%) ⬆️
packages/core/src/models/Heart.ts 100.00% <100.00%> (ø)
packages/core/src/models/ObjectField.ts 100.00% <100.00%> (ø)
packages/core/src/models/VoidField.ts 100.00% <100.00%> (ø)
packages/core/src/shared/internals.ts 100.00% <100.00%> (+4.20%) ⬆️
packages/reactive/src/batch.ts 100.00% <0.00%> (ø)
packages/reactive/src/index.ts 100.00% <0.00%> (ø)
packages/reactive/src/untracked.ts 100.00% <0.00%> (ø)
... and 8 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4118b8d...906958c. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2021

Size Change: +89 B (0%)

Total Size: 1.58 MB

Filename Size Change
packages/core/dist/formily.core.umd.development.js 18.7 kB +58 B (0%)
packages/core/dist/formily.core.umd.production.js 12.3 kB +31 B (0%)
ℹ️ View Unchanged
Filename Size
designable/antd/dist/formily.designable.antd.umd.development.js 354 kB
designable/antd/dist/formily.designable.antd.umd.production.js 239 kB
designable/next/dist/formily.designable.next.umd.development.js 332 B
designable/next/dist/formily.designable.next.umd.production.js 252 B
designable/setters/dist/formily.designable.antd.umd.development.js 329 kB
designable/setters/dist/formily.designable.antd.umd.production.js 220 kB
packages/antd/dist/formily.antd.umd.development.js 61.2 kB
packages/antd/dist/formily.antd.umd.production.js 34.8 kB
packages/element/dist/formily.element.umd.development.js 53.6 kB
packages/element/dist/formily.element.umd.production.js 30.5 kB
packages/json-schema/dist/formily.json-schema.umd.development.js 7.13 kB
packages/json-schema/dist/formily.json-schema.umd.production.js 5 kB
packages/next/dist/formily.next.umd.development.js 62.6 kB
packages/next/dist/formily.next.umd.production.js 36.4 kB
packages/path/dist/formily.path.umd.development.js 13.1 kB
packages/path/dist/formily.path.umd.production.js 8.4 kB
packages/react/dist/formily.react.umd.development.js 11.4 kB
packages/react/dist/formily.react.umd.production.js 7.11 kB
packages/reactive-react/dist/formily.reactive-react.umd.development.js 3.61 kB
packages/reactive-react/dist/formily.reactive-react.umd.production.js 2.26 kB
packages/reactive-vue/dist/formily.reactive-vue.umd.development.js 2.79 kB
packages/reactive-vue/dist/formily.reactive-vue.umd.production.js 1.76 kB
packages/reactive/dist/formily.reactive.umd.development.js 8.67 kB
packages/reactive/dist/formily.reactive.umd.production.js 4.97 kB
packages/shared/dist/formily.shared.umd.development.js 7.38 kB
packages/shared/dist/formily.shared.umd.production.js 4.19 kB
packages/validator/dist/formily.validator.umd.development.js 7.58 kB
packages/validator/dist/formily.validator.umd.production.js 5.66 kB
packages/vue/dist/formily.vue.umd.development.js 14.9 kB
packages/vue/dist/formily.vue.umd.production.js 9.32 kB

compressed-size-action

@janryWang janryWang merged commit 6a437c8 into formily_next Aug 9, 2021
@janryWang janryWang deleted the add_designable_tests branch August 9, 2021 12:17
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.

1 participant