I have a simple LWC component that is only made up of html, javascript, and css (no APEX). When deploying to production via vscode, I am confused on what I am suppose to be testing as I receive the "INVALID_OPERATION: testLevel of NoTestRun cannot be used in production organizations" message. Am I missing something?


I chose an unrelated apex test class and it deployed successfully to production.

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.