QuickDevGuide

Home › Mocha JS Testing

Setup & Installation — Mocha JS Testing

1. Initialize NPM 2. Install Mocha & Chai Chai is an assertion library commonly used with Mocha. 3. Update Package.json Add Mocha to your test script: