TypeScript Setup
Similar to Babel setup, you can register TypeScript to compile your .ts files in your before hook of your config file. You will need ts-node as an installed devDependency.
before(function() {
require('ts-node/register');
}),
Similarly for mocha:
mochaOpts: {
ui: 'bdd',
compilers: ['ts:ts-node/register'],
requires: ['./test/helpers/common.js']
},