Unit testing sample code Install package npm install Run unit test npm run test Run unit test watch mode npm run test:watch