I want to use mocha to test my TypeScript/Angular2 project. I tried to use ts-node as described here:
npm install -g ts-node
Try this command instead:
mocha --compilers ts:ts-node/register,tsx:ts-node/register
which works for me.