Skip to content

Comment on SafeTest: A novel approach to front end testing

Comments

My initial impression of this is that it enables controlling just how much of the app you want to render for your test, while more traditional solutions force you towards either rendering the whole app or testing just a component. Is that accurate?

Yes, that's correct. You get all the benefits of react-testing-library mounting and the ability to test the entire app as a unit.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.