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

Unexpected error message when cancelling out of create LWC test command #3983

Closed
randi274 opened this issue Mar 29, 2022 · 1 comment
Closed
Assignees

Comments

@randi274
Copy link
Contributor

Summary

I exited out of the create LWC test command early and got the error "Command 'SFDX: Create Lightning Web Component Test' resulted in an error (The "path" argument must be of type string. Received undefined)"

Steps To Reproduce:

  1. Run the command SFDX: Create Lightning Web Component Test
  2. Select desired directory
  3. Click out of the dropdown before selecting a component
  4. Error appears

Expected result

No error; output should close quietly after losing focus

Actual result

Got an error message 😔

Additional information

Screen Shot 2022-03-29 at 11 37 27 AM

Salesforce Extension Version in VS Code: v54.6.1

OS and version: Mac 11.6.5

@uip-robot-zz
Copy link

This issue has been linked to a new work item: W-10915684

@trinasfdx trinasfdx added the status:in review pr/issue is being reviewed label Apr 1, 2022
@randi274 randi274 removed the status:in review pr/issue is being reviewed label Apr 4, 2022
randi274 added a commit that referenced this issue May 18, 2022
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 added a commit that referenced this issue Jun 2, 2022
* fix: allow for escaping lwc test create command

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants