-
Notifications
You must be signed in to change notification settings - Fork 916
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
resolved get_keystore unit test #3854
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## main #3854 +/- ##
=======================================
Coverage 66.42% 66.42%
=======================================
Files 3209 3209
Lines 61733 61733
Branches 9534 9534
=======================================
Hits 41008 41008
Misses 18438 18438
Partials 2287 2287
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@abbyhu2000 hi! can you please look at this commit? |
LGTM! Thank you @Aigerim-ai |
CHANGELOG.md
Outdated
@@ -192,8 +192,10 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) | |||
- [Vis Builder] Adds field unit tests ([#3211](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3211)) | |||
- [BWC Tests] Add BWC tests for 2.6.0 ([#3356](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3356)) | |||
- Prevent primitive linting limitations from being applied to unit tests found under `src/setup_node_env` ([#3403](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3403)) | |||
- [Tests] Resolves the issue with get_keystore.js test([#3854]https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3854) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: should be ([#3854](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3854))
@@ -32,6 +32,8 @@ import { getKeystore } from './get_keystore'; | |||
import { Logger } from '../cli_plugin/lib/logger'; | |||
import fs from 'fs'; | |||
import sinon from 'sinon'; | |||
import { getConfigDirectory, getDataPath } from '@osd/utils'; | |||
import { join } from 'path'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this work on Windows too?
It clearly does as the tests pass.
@abbyhu2000 Changes have to be rebased as there is a merge conflict and also DCO check is failing. |
Signed-off-by: Aigerim Suleimenova <[email protected]>
Signed-off-by: Aigerim Suleimenova <[email protected]>
The required commits have been signed-off; will pass DCO. |
Co-authored-by: Miki <[email protected]> Signed-off-by: abbyhu2000 <[email protected]>
Fix Changelog entry format Signed-off-by: abbyhu2000 <[email protected]>
(cherry picked from commit 677dcbd) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
Signed-off-by: David Sinclair <[email protected]>
Description
This commit fixes #773
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr