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

fix: allow for escaping lwc test create command #4143

Merged
merged 6 commits into from
Jun 2, 2022

Conversation

randi274
Copy link
Contributor

What does this PR do?

Fixed an issue where escaping from the 'Create Lightning Web Component Test' could generate an error.

What issues does this PR fix or reference?

#3983 , @W-10915684@

Functionality Before

When you run the command 'Create Lightning Web Component Test', select a directory, then exit out of selecting a component, you get a nasty error, shown in #3983.

Functionality After

Escaping that command is quiet and error-message free, as it should be.

randi274 added 2 commits May 18, 2022 18:05
fixed an issue where escaping from the lwc test create command was generating an exception. code now
exits gracefully and allows for a quiet escape.

#3983
@randi274 randi274 requested a review from a team as a code owner May 18, 2022 22:24
@randi274 randi274 requested a review from jeffb-sfdc May 18, 2022 22:24
Copy link
Contributor

@klewis-sfdc klewis-sfdc left a comment

Choose a reason for hiding this comment

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

✅ Escape closes the dialog without the error dialog 👍🏽
✅ Existing behavior works - creates new test file if one didn't exist - "Test file already exists" message in the Output if one does already exist 👍🏽
✅ Tests pass and the new test looks great. 👍🏽

Thanks, @randi274 !

@randi274 randi274 merged commit 03f43fc into develop Jun 2, 2022
@randi274 randi274 deleted the randi/lwc-test-create-cleanup branch June 2, 2022 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants