4

The "Run Test" link is provided for each test as illustrated below. But what is the easiest way to run all of the tests in the file?

enter image description here

4

Found the answer in this Test Lightning Web Components documentation:

To run all test cases in a Jest test file, click the play icon on the menu bar in the top right corner of the editor window.

i.e. the green arrow:

enter image description here

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.