From 66821af215adba7e81fab5279728e721d7569c45 Mon Sep 17 00:00:00 2001 From: Roj Date: Tue, 19 Jul 2022 17:56:42 +0300 Subject: [PATCH 1/3] chore(cli): update config file schema to include test config --- cli/schemas/config-file.v1.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index 17206fc18bdd57..035a3ca5ecb568 100644 --- a/cli/schemas/config-file.v1.json +++ b/cli/schemas/config-file.v1.json @@ -322,5 +322,30 @@ }, "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" + } + } + } + } + } } } From 3214bb3873def640b247953f5a830bd1cb5a7fd1 Mon Sep 17 00:00:00 2001 From: Roj Date: Tue, 19 Jul 2022 20:53:26 +0300 Subject: [PATCH 2/3] fix --- cli/schemas/config-file.v1.json | 43 +++++++++++++++++---------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index 035a3ca5ecb568..46b547cf66f59f 100644 --- a/cli/schemas/config-file.v1.json +++ b/cli/schemas/config-file.v1.json @@ -321,27 +321,28 @@ } }, "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" + }, + + "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" + } } } } From 09a3ae5862e1c94b5baec588d1c0d19f3d82e5c9 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 19 Jul 2022 13:56:09 -0400 Subject: [PATCH 3/3] Remove blank line --- cli/schemas/config-file.v1.json | 1 - 1 file changed, 1 deletion(-) diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index 46b547cf66f59f..a8f80dd3617c18 100644 --- a/cli/schemas/config-file.v1.json +++ b/cli/schemas/config-file.v1.json @@ -322,7 +322,6 @@ }, "additionalProperties": false }, - "test": { "description": "Configuration for deno test", "type": "object",