Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 617 Bytes

README.md

File metadata and controls

49 lines (31 loc) · 617 Bytes

🚀 Next.js with Jest.js Tests

Documentation

Next.js

Jest.js

Run Locally

Clone the project

  git clone https://github.com/JoelDeonDsouza/Next.js_Tests-Jest.js.git

Go to the project directory

  cd project

Install dependencies

  npm install

Start the server

  npm run dev

Test Dependency Installation

  npm i -D jest jest-environment-jsdom @testing-library/react @testing-library/jest-dom

Running Tests

To run tests, run the following command

  npm run test:watch