-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.mocharc.js
More file actions
29 lines (27 loc) · 788 Bytes
/
.mocharc.js
File metadata and controls
29 lines (27 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
'use strict';
// This is a JavaScript-based config file containing every Mocha option plus others.
// If you need conditional logic, you might want to use this type of config,
// e.g. set options via environment variables 'process.env'.
// Otherwise, JSON or YAML is recommended.
module.exports = {
'allow-uncaught': false,
'async-only': true,
bail: true,
'check-leaks': false,
color: true,
delay: false,
diff: true,
exit: true,
extension: ['js', 'cjs', 'mjs', 'ts'],
'inline-diffs': false,
jobs: 2,
'node-option': ['unhandled-rejections=strict'],
package: './package.json',
parallel: false,
recursive: false,
reporter: 'spec',
require: ['ts-node/register', 'should', 'co-mocha'],
spec: ['./test/*.ts'],
timeout: '8s',
'trace-warnings': true,
};