Mocha configuration for TypeScript
yarn add @sudoo/mocha-config --dev
# Or
npm install @sudoo/mocha-config --save-dev
Run the following command
mocha := node_modules/.bin/mocha
mocha-config := node_modules/@sudoo/mocha-config/.mocharc.json
$(mocha) --config $(mocha-config)