This project focuses on managing movie data, calculating movie durations, and determining the best-rated films for a given year, all while incorporating unit testing practices using Jest.
- HTML: To link the JavaScript file.
- JavaScript: To implement the logic.
- Jest: Used for unit testing JavaScript functions.
- Clone this repo
git clone https://github.com/annahilla/3-Testing- Open project on VS Code or some editor and install dependencies
npm install- Run the tests
npm run test:watch- You can open the generated
test-results.htmlfile with the "Live Server" VSCode extension to see test results.