Testing frontend code

Rick Peacock
Rick Peacock Posts: 2 🧑🏻‍🚀 - Cadet

Hi all,

I was fixing a typescript bug on our project yesterday and it occurred to me: this would be much easier if I could create a failing test before making my typescript changes. My typescript is rusty, so I need all the help I can get :-)

We do have coverage via playwright tests but I see the benefit of having something like jest to unit test typescript classes for important web components in our project.

I'm not aware of such a setup in the demoshop, so I have an open question:

Is anyone using a test framework for their Yves typescript code, and if so would you mind sharing an overview of how you implemented it?

Thanks and happy Friday!