-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmocha.opts
9 lines (9 loc) · 856 Bytes
/
mocha.opts
1
2
3
4
5
6
7
8
9
--require chai/register-assert # Include Chai's assert style globally
--require chai/register-expect # Include Chai's expect style globally
--require chai/register-should # Include Chai's should style globally
--timeout 10000 # Set the test timeout to 10 seconds
--recursive # Include all subdirectories under "tests/"
--reporter spec # Use the 'spec' reporter for detailed output
--colors # Enable colored output
tests/**/*.test.js # Include all test files in "tests/" and its subdirectories
--reporter-options output=reports/mocha_report.json # Output report to the "reports" directory