ColinLefter / Accord

A real-time privacy-first social media platform leveraging feature-rich direct messaging text channels. Built as part of the course project for COSC 310 at UBC.
5 stars 1 forks source link

Running tests with Jest #59

Open ColinLefter opened 8 months ago

ColinLefter commented 8 months ago

About Jest

Jest is a JavaScript unit testing framework that is a popular choice for React applications. We will be using Jest to run all of our tests in our Next.js application.

Running Tests

To run tests, navigate to the Frontend/ directory and create all tests under the __tests__ directory. Refer to the tests already under that directory to understand the general style of writing tests. To run all tests in that directory, run npm run test:jest.