Skip to content

Instantly share code, notes, and snippets.

@Farenheith
Created January 2, 2020 20:39
Show Gist options
  • Save Farenheith/021452a003be1fbd69257d29d6d32cb5 to your computer and use it in GitHub Desktop.
Save Farenheith/021452a003be1fbd69257d29d6d32cb5 to your computer and use it in GitHub Desktop.
Mocha configuration example
# mocha.opts
--require test/ts-node-register.js
test/setup.spec.js
--recursive test/**/*.spec.ts
require('ts-node').register({
project: 'tsconfig.test.json',
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment