Created
January 2, 2020 20:39
-
-
Save Farenheith/021452a003be1fbd69257d29d6d32cb5 to your computer and use it in GitHub Desktop.
Mocha configuration example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mocha.opts | |
--require test/ts-node-register.js | |
test/setup.spec.js | |
--recursive test/**/*.spec.ts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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