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.
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.
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, runnpm run test:jest
.