forked from MortenHoustonLudvigsen/KarmaTestAdapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
KarmaTestAdapter.schema.json
58 lines (58 loc) · 2.16 KB
/
KarmaTestAdapter.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "JSON schema for KarmaTestAdapter configuration files (KarmaTestAdapter.json)",
"type": "object",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"format": "uri"
},
"KarmaConfigFile": {
"description": "Use this if you want to use a karma configuration file not named karma.conf.js or it is not in this directory.",
"type": "string"
},
"Name": {
"description": "The name of the test container.",
"type": "string"
},
"Extensions": {
"description": "Path to a node.js module implementing extensions.",
"type": "string"
},
"Traits": {
"description": "Traits to attach to each test.",
"type": "array",
"items": {
"anyOf": [
{ "type": "string" },
{
"type": "object",
"properties": {
"Name": { "type": "string" },
"Value": { "type": "string" }
},
"required": ["Name"]
}
]
}
},
"Disabled": {
"description": "Set to true, if the Karma test adapter should be disabled for this karma configuration file.",
"type": "boolean"
},
"LogToFile": {
"description": "Set to true, if you want the adapter to write log statements to a log file (named KarmaTestAdapter.log).",
"type": "boolean"
},
"LogDirectory": {
"description": "Where the log file should be saved (if LogToFile is true). If this property is not specified the directory in which KarmaTestAdapter.json resides is used.",
"type": "string"
},
"config": {
"description": "This property overwrites any configurations from the karma configuration file.",
"type": "object",
"additionalProperties": true
}
}
}