forcedotcom / code-builder-feedback

This repository is used to collect feedback for the Code Builder beta.
29 stars 2 forks source link

Can't run LWC tests, and can't install sfdx-lwc-jest easily #124

Closed randi274 closed 2 years ago

randi274 commented 2 years ago

Describe the bug I tried to run an LWC test, but got an error that sfdx-lwc-jest was not installed.

To Reproduce Steps to reproduce the behavior:

  1. Try to run an LWC test from the Test tab
  2. See the error
  3. Attempt to run the yarn command to install from the docs: yarn add -D @salesforce/sfdx-lwc-jest
  4. See error that yarn is not installed either 🙀

Expected behavior I would expect sfdx-lwc-jest to be pre-installed. Alternatively, I'd like more help being able to install that for code builder rather than going to the extensions documentation.

Screenshots Screen Shot 2022-04-05 at 5 33 32 PM

Screen Shot 2022-04-05 at 5 34 19 PM

Desktop (please complete the following information):

gbockus-sf commented 2 years ago

Just a note. I was able to install the module using npm from the terminal and execute the command.

jgellin-sf commented 2 years ago

GUS Ref: W-10981837

jgellin-sf commented 2 years ago

yarn is now installed on the code builder image.