This is a Next.js app to demonstrate common app scenarios and how they can be tested with react-testing-library
and msw
.
HelloWorld
- basic component renderingTodoList
- user interactivity with input field, submit button and new data added to pageCitiesList
- data fetching component that usesmsw
for displaying mock data
To start the app, run npm run dev
.
To run the tests, run npm run test
.