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