summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorRoj <ez@roj.im>2022-07-19 22:10:41 +0300
committerGitHub <noreply@github.com>2022-07-19 15:10:41 -0400
commit248bfda8d3b1d7f44c1bb24a3741165f3d7dba5a (patch)
tree662be3b30d41b9c9618dc4c0a2a477bcbc6b9b23 /cli
parent0ab262b901348e9251262a02bef17d14ed13b997 (diff)
chore(cli): update config file schema to include test config (#15246)
Diffstat (limited to 'cli')
-rw-r--r--cli/schemas/config-file.v1.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json
index 17206fc18..a8f80dd36 100644
--- a/cli/schemas/config-file.v1.json
+++ b/cli/schemas/config-file.v1.json
@@ -321,6 +321,31 @@
}
},
"additionalProperties": false
+ },
+ "test": {
+ "description": "Configuration for deno test",
+ "type": "object",
+ "properties": {
+ "files": {
+ "type": "object",
+ "properties": {
+ "include": {
+ "type": "array",
+ "description": "List of files or directories that will be searched for tests.",
+ "items": {
+ "type": "string"
+ }
+ },
+ "exclude": {
+ "type": "array",
+ "description": "List of files or directories that will not be searched for tests.",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ }
}
}
}