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: add unit test for explorer and searchPanel #393

Merged
merged 2 commits into from
Sep 3, 2021
Merged

Conversation

mortalYoung
Copy link
Collaborator

简介

  • Explorer 新增测试用例
  • SearchPanel 新增测试用例
  • SearchTree 新增测试用例
  • 优化 SearchPanel 的方法,支持可选

@mortalYoung mortalYoung added the unit test The PR is for the unit test mainly label Sep 2, 2021
@mortalYoung mortalYoung added this to the 0.9.0-alpha.5 milestone Sep 2, 2021
@mortalYoung mortalYoung self-assigned this Sep 2, 2021
@mortalYoung mortalYoung mentioned this pull request Sep 2, 2021
53 tasks
@codecov
Copy link

codecov bot commented Sep 2, 2021

Codecov Report

Merging #393 (9f79744) into main (3066baa) will increase coverage by 0.60%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #393      +/-   ##
==========================================
+ Coverage   76.72%   77.32%   +0.60%     
==========================================
  Files         176      176              
  Lines        4808     4808              
  Branches     1039     1040       +1     
==========================================
+ Hits         3689     3718      +29     
+ Misses       1111     1083      -28     
+ Partials        8        7       -1     
Impacted Files Coverage Δ
src/controller/search/search.tsx 28.08% <ø> (ø)
src/workbench/sidebar/explore/explore.tsx 80.00% <100.00%> (ø)
src/workbench/sidebar/search/searchPanel.tsx 95.12% <100.00%> (+65.85%) ⬆️
src/components/actionBar/index.tsx 97.43% <0.00%> (+2.56%) ⬆️
src/components/search/index.tsx 94.73% <0.00%> (+2.63%) ⬆️

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 3066baa...9f79744. Read the comment docs.

Copy link
Collaborator

@wewoor wewoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@wewoor wewoor merged commit 89f1cbc into main Sep 3, 2021
@wewoor wewoor deleted the test/sidebar branch September 3, 2021 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unit test The PR is for the unit test mainly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants