Unit Testing React Components and Web Components



I have been using Enzyme to unit test React Components. What are you guys using for Unit testing Web Components? Is Cypress.io the only one to use? Enzyme does not work for Web components.


I found this: https://www.npmjs.com/package/web-component-tester


conclusion: cypress.io is better than web components tester from polymer…


I just want to say the state of testing GUI and JS is so sad. A lot better than what we had a couple of years back. It still needs a lot of work compared to backend languages and solutions.
I personally think that we need to push JavaScript and its way of development to be an Engineering approach that makes our solutions strong, safe, testable and measurable than just pure magic, trail and error. What we have today is truly sad.