Skip to content

📘 Learning how to write unit test for react app using react-testing-library

Notifications You must be signed in to change notification settings

Peter3Khalil/learning-react-testing-library

Repository files navigation

hint: You should install nodejs on your machine

Visit this link to download and install nodejs

Getting Started

First, Install the dependencies:

npm install

Then, run the development server:

npm run dev

Open http://localhost:4000 with your browser to see the result.

You can change Port by modifying script on package.json file to be:

"script":{
    "dev":"next dev -p PORT_NUMBER"
}

Building the project for production

Run the following commands:

  • First, Build the project:
npm run build
  • Second, Start the project:
npm start

Tech Stack

  • Next.js 14 (React 18) using App routing
  • TypeScript
  • Tailwind

About

📘 Learning how to write unit test for react app using react-testing-library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published