This is a Next.js project set up to demonstrate testing with Jest. It was bootstrapped using create-next-app
.
Follow the steps below to get the project up and running.
Run the following command to install all necessary dependencies using Yarn:
yarn install
Start the development server with Yarn:
yarn dev
Visit http://localhost:3000 in your browser to view the project in action.
To run the tests, use the following command:
yarn test
The tests will run using Jest, and you'll be able to see the results directly in your terminal.
app/page.tsx
: This is the main page component where you can edit and see the project in action.tests/
: This directory contains Jest test files to test components and other logic in your Next.js app.If you're new to Next.js or want to learn more about the features of this framework, check out the following resources:
This project can be deployed easily on the Vercel Platform. For more details, check out the Next.js deployment documentation.
Contributions, feedback, and ideas are welcome! You can find the Next.js GitHub repository here.