-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add Multiple X Field Selection to Plot Wizard #4797
Conversation
* simplify plot object * simplify resourcePicker
* fix typo * use same keys message for multi and single files
it('should return early if the user does not pick a y field', async () => { | ||
mockedPickFiles.mockResolvedValue(['/file.json']) | ||
mockedLoadDataFiles.mockResolvedValue([ | ||
{ data: mockValidData, file: 'file.json' } | ||
]) | ||
mockedQuickPickOne.mockResolvedValue('simple') | ||
mockedGetInput.mockResolvedValue('simple_plot') | ||
mockedQuickPickValue.mockResolvedValue('actual') | ||
mockedQuickPickValues | ||
mockedQuickPickUserOrderedValues | ||
.mockResolvedValueOnce(undefined) | ||
.mockResolvedValueOnce([]) |
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.
This test is actually incorrectly written. We need mockedQuickPickValues
to have 4 mockResolvedValueOnce
calls. Fixed in #4798
Code Climate has analyzed commit 402d6a2 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (85% is the threshold). This pull request will bring the total coverage in the repository to 95.1% (0.0% change). View more on Code Climate. |
2/3
main
<- #4787 <- this <- #4798Demo
Screen.Recording.2023-10-10.at.2.04.36.PM.mov
Part of #4654