-
react-testing
Example repository of how to implement unit testing, end-to-end testing and mocked services in a React application. For my blog: https://dev.to/diballesteros/testing-a-react-application-the-modern-approach-4d02
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Awesome! 😎 Let’s get this set up with our application. For reference here is the project we’ve been using up to this point.
The fifth part in my ongoing series on how to test a modern React application. This time I’ll go over how to integrate MSW with Vitest, our unit-test framework. Most applications have to fetch data from the backend server. In order to have full coverage, we should mock these requests. But, what is mocking?
MSW is a mocking library that is extremely simple to use.