mocha chai react typescript example Example: using chai in typescript npm install chai mocha ts-node @types/chai @types/mocha --save-dev