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

[Workspace] Add unit tests for inspect page url #8834

Merged

Conversation

yubonluo
Copy link
Contributor

@yubonluo yubonluo commented Nov 8, 2024

Description

Add unit tests for inspect page url (#8718)

Issues Resolved

Screenshot

Testing the changes

Changelog

  • refactor: [Workspace] Add unit tests for inspect page url

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Signed-off-by: yubonluo <yubonluo@amazon.com>
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 2 lines in your changes missing coverage. Please review.

Project coverage is 60.87%. Comparing base (aa60870) to head (d70bae1).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...c/plugins/saved_objects_management/public/utils.ts 88.88% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8834   +/-   ##
=======================================
  Coverage   60.86%   60.87%           
=======================================
  Files        3799     3800    +1     
  Lines       90761    90797   +36     
  Branches    14294    14305   +11     
=======================================
+ Hits        55246    55276   +30     
- Misses      32005    32007    +2     
- Partials     3510     3514    +4     
Flag Coverage Δ
Linux_1 29.04% <0.00%> (-0.01%) ⬇️
Linux_2 56.39% <ø> (ø)
Linux_3 37.79% <0.00%> (-0.01%) ⬇️
Linux_4 29.90% <88.88%> (+0.02%) ⬆️
Windows_1 29.05% <0.00%> (-0.01%) ⬇️
Windows_2 56.34% <ø> (ø)
Windows_3 37.79% <0.00%> (-0.01%) ⬇️
Windows_4 29.90% <88.88%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: yubonluo <yubonluo@amazon.com>
SuZhou-Joe
SuZhou-Joe previously approved these changes Nov 11, 2024
Signed-off-by: yubonluo <yubonluo@amazon.com>
@SuZhou-Joe SuZhou-Joe merged commit 76cf823 into opensearch-project:main Nov 12, 2024
68 of 69 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 12, 2024
* Add unit tests for inspect page url

Signed-off-by: yubonluo <yubonluo@amazon.com>

* Changeset file for PR #8834 created/updated

* optimize the code

Signed-off-by: yubonluo <yubonluo@amazon.com>

* optimize the code

Signed-off-by: yubonluo <yubonluo@amazon.com>

* optimize the code

Signed-off-by: yubonluo <yubonluo@amazon.com>

---------

Signed-off-by: yubonluo <yubonluo@amazon.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 76cf823)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Hailong-am pushed a commit that referenced this pull request Nov 12, 2024
* Add unit tests for inspect page url



* Changeset file for PR #8834 created/updated

* optimize the code



* optimize the code



* optimize the code



---------



(cherry picked from commit 76cf823)

Signed-off-by: yubonluo <yubonluo@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants