-
Notifications
You must be signed in to change notification settings - Fork 0
/
mocha-rc.schema.json
67 lines (58 loc) · 3.41 KB
/
mocha-rc.schema.json
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
62
63
64
65
66
67
{
"$schema" : "http://json-schema.org/draft/2019-09/schema#" ,
"$id" : "https://mochajs.org/schemata/mocharc.schema.json" ,
"title" : "Mocha JS Configuration File Schema" ,
"description" : "A JSON schema describing a .mocharc.[json|yml|yaml] file" ,
"type" : "object" ,
"additionalProperties" : true ,
"properties" : {
"allow-uncaught" : { "$ref": "#/definitions/bool" } ,
"async-only" : { "$ref": "#/definitions/bool" } ,
"bail" : { "$ref": "#/definitions/bool" } ,
"check-leaks" : { "$ref": "#/definitions/bool" } ,
"delay" : { "$ref": "#/definitions/bool" } ,
"exit" : { "$ref": "#/definitions/bool" } ,
"forbid-only" : { "$ref": "#/definitions/bool" } ,
"forbid-pending" : { "$ref": "#/definitions/bool" } ,
"global" : { "$ref": "#/definitions/string-array" } ,
"jobs" : { "$ref": "#/definitions/int" } ,
"parallel" : { "$ref": "#/definitions/bool" } ,
"retries" : { "$ref": "#/definitions/int" } ,
"slow" : { "$ref": "#/definitions/int" } ,
"timeout" : { "$ref": "#/definitions/int" } ,
"ui" : { "$ref": "#/definitions/string" } ,
"color" : { "$ref": "#/definitions/bool" } ,
"diff" : { "$ref": "#/definitions/bool" } ,
"full-trace" : { "$ref": "#/definitions/bool" } ,
"growl" : { "$ref": "#/definitions/bool" } ,
"inline-diffs" : { "$ref": "#/definitions/bool" } ,
"reporter" : { "$ref": "#/definitions/string" } ,
"reporter-option" : { "$ref": "#/definitions/string-array" } ,
"config" : { "$ref": "#/definitions/string" } ,
"package" : { "$ref": "#/definitions/string" } ,
"extension" : { "$ref": "#/definitions/string-array" } ,
"file" : { "$ref": "#/definitions/string-array" } ,
"ignore" : { "$ref": "#/definitions/string-array" } ,
"recursive" : { "$ref": "#/definitions/bool" } ,
"require" : { "$ref": "#/definitions/string" } ,
"sort" : { "$ref": "#/definitions/bool" } ,
"watch" : { "$ref": "#/definitions/bool" } ,
"watch-files" : { "$ref": "#/definitions/string-array" } ,
"watch-ignore" : { "$ref": "#/definitions/string-array" } ,
"fgrep" : { "$ref": "#/definitions/string" } ,
"grep" : { "$ref": "#/definitions/string" } ,
"invert" : { "$ref": "#/definitions/bool" } ,
"spec" : { "$ref": "#/definitions/string-array" }
},
"definitions": {
"bool" : { "type" : "boolean" } ,
"int" : { "type" : "integer" , "minimum" : 0 } ,
"string" : { "type" : "string" },
"string-array" : {
"anyOf" : [
{ "type" : "string" } ,
{ "type" : "array" , "items" : { "type" : "string" } }
]
}
}
}