Configurations for Framework
Mocha
Follow these steps to use a custom configuration file in mocha framework.
- Create a
mocha
configuration file in the repository.
mocharc.yaml
require:
- ts-node/register
- jsdom-global/register
- Add
configFile
parameter in the tas yml file and reference the mocha config file.
.tas.yaml
...
configFile: mocharc.yml
...