News for hackers. Stuff that matters.
Re:SafeTest: A Novel Approach to Front End Testing by foolswisdom on Tuesday February 13, 2024 @11:34AM (#39359416)
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?
Re:SafeTest: A Novel Approach to Front End Testing by kolodny on Tuesday February 13, 2024 @11:37AM (#39359472)
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.