[Test] Enable help.test.ts#489
Merged
ananzh merged 1 commit intoopensearch-project:mainfrom Jun 24, 2021
Merged
Conversation
26 tasks
Collaborator
|
✅ DCO Check Passed 51782f3 |
Member
Author
tmarkley
previously approved these changes
Jun 18, 2021
Member
Author
Will modify the commit message. Thanks Tommy. |
Collaborator
|
✅ DCO Check Passed 70674bd |
Help.test.ts is skipped for no specific reasons. To make a clean unit test, we enabled and modified help.test.ts to match the corresponding inline snapshots. Signed-off-by: Anan Zhuang <ananzh@amazon.com>
Collaborator
|
✅ DCO Check Passed f0f2846 |
kavilla
approved these changes
Jun 23, 2021
Member
kavilla
left a comment
There was a problem hiding this comment.
LGTM, trying to follow the git history in the original skipped. It wasn't clear for me either why this was skipped.
tmarkley
approved these changes
Jun 24, 2021
kavilla
pushed a commit
that referenced
this pull request
Jun 26, 2021
kavilla
pushed a commit
that referenced
this pull request
Jun 26, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Signed-off-by: Anan Zhuang ananzh@amazon.com
Description
Don't find any specific reasons to skip this unit test. Unit test for
getCommandLevelHelpfunction passes nousageparameters. We can either 1) change the inline snapshot:node node_modules/jest-worker/build/workers/processChild.js foo [...names]--->node scripts/jest foo [...names]or 2) pass a
usageparameter to match inline snapshot. No specific pros and cons between these two options.This PR uses option 2) and passes a
usageparameter to match inline snapshot.Issues Resolved
#487
Test results
unit test for help.test.ts
overall unit test:
integration test:
functional test:
Check List