SOFTENG310-Team4 / SMARTJ

SMARTJ is a web application designed to help active job seekers practice their interview skills and find available jobs in their field of study. Developed by Team 4 as part of the SOFTENG 310 course at the University of Auckland.
MIT License
0 stars 11 forks source link

feat: Setup Jest and created mock tests #46

Closed syoo881 closed 3 months ago

syoo881 commented 3 months ago

Add Basic Tests for Basic Component Rendering

Context

Configured a proper setup for writing unit tests using Jest and React Testing Library. This work is important for writing and running tests in future development.

What Changed?

How To Review

  1. Clone the branch and install dependencies with npm install.
  2. Run npm test in the project root to execute the smoke tests for App.js and Home.js.
  3. Verify that both tests pass without errors.

Testing

Risks

Notes

Next Steps