I’m currently developing web components with Lit and using @web/test-runner along with @open-wc/testing for writing unit tests. According to the documentation on Test Frameworks: Write Your Own, is there a method to integrate Jest for the spying and mocking features, while still using @web/test-runner for execution? How can this be achieved?
There are some solutions like using Sinon or Jasmin or Chai f.e for spying, but I was wondering if I can use Jest for its features.
sara parsa is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.