-
-
Notifications
You must be signed in to change notification settings - Fork 201
Expand file tree
/
Copy path.mocharc.yml
More file actions
61 lines (58 loc) · 1.26 KB
/
.mocharc.yml
File metadata and controls
61 lines (58 loc) · 1.26 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# --recursive
# --reporter spec
# --require source-map-support/register
# --require test/test-bootstrap.js
# --timeout 150000
# test/
# lib/common/test/unit-tests
# This is an example Mocha config containing every Mocha option plus others
allow-uncaught: false
async-only: false
bail: false
check-leaks: false
color: true
delay: false
diff: true
exit: true # could be expressed as "no-exit: true"
extension:
- 'js'
# fgrep and grep are mutually exclusive
# fgrep: something
# file:
# - '/path/to/some/file'
# - '/path/to/some/other/file'
forbid-only: false
forbid-pending: false
full-trace: false
# global:
# - 'jQuery'
# - '$'
# fgrep and grep are mutually exclusive
# grep: something
growl: false
# ignore:
# - '/path/to/some/ignored/file'
inline-diffs: false
# needs to be used with grep or fgrep
# invert: false
recursive: true
reporter: 'spec'
require:
- 'test/test-bootstrap.js'
retries: 1
slow: 500
sort: false
spec:
- 'test/**/*.js'
- 'lib/common/test/unit-tests/**/*.js'
timeout: 150000 # same as "no-timeout: true" or "timeout: 0"
# node flags
# trace-warnings: true
ui: 'bdd'
v8-stack-trace-limit: 100 # V8 flags are prepended with "v8-"
watch: false
watch-files:
- 'test/**/*.js'
- 'lib/common/test/unit-tests/**/*.js'
# watch-ignore:
# - 'lib/vendor'