After installing lwc-jest using npm the audit report is quite large. Does anyone know how the report items can be fixed?

  • You can run npm audit fix. – muenzpraeger May 2 at 5:21
  • Thank you, I'll try that and let you know how it works. – Jay May 8 at 18:29

Almost all of the npm audit items are resolved by upgraded Jest from 23 to 24. Since this upgrade contains braking changes, @saleforce/lwc-jest won't upgrade Jest until the next Salesforce major release.

  • Thanks Trevor - I'm having some trouble upgrading npm at the moment since everything is owned by root and for some reason I don't have write access to the directories. – Jay May 8 at 18:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.