From c5ba55323ab95d775d7b9f0f6a2190e1b0a59c01 Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Tue, 12 Oct 2021 18:47:10 -0700 Subject: [PATCH 1/3] feat: Disable Pester Code Lens --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 83e99c9ce9..1d24302b56 100644 --- a/package.json +++ b/package.json @@ -842,6 +842,11 @@ "default": true, "description": "Use code lens that is compatible with Pester 4. Disabling this will show 'Run Tests' on all It, Describe and Context blocks, and will correctly work only with Pester 5 and newer." }, + "powershell.pester.codeLens": { + "type": "boolean", + "default": true, + "description": "This settting enables or disables the 'Run Tests' and 'Debug Tests' codelens that appears near Pester tests." + }, "powershell.pester.outputVerbosity": { "type": "string", "enum": [ From 94b45a1f238fcc144d4bfe86111522bf954bc1ba Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Wed, 13 Oct 2021 10:07:27 -0700 Subject: [PATCH 2/3] Suggested Doc Updates Co-authored-by: Andy Schwartzmeyer --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1d24302b56..2ed8886bc4 100644 --- a/package.json +++ b/package.json @@ -845,7 +845,7 @@ "powershell.pester.codeLens": { "type": "boolean", "default": true, - "description": "This settting enables or disables the 'Run Tests' and 'Debug Tests' codelens that appears near Pester tests." + "description": "This setting controls the appearance of the 'Run Tests' and 'Debug Tests' CodeLenses that appears above Pester tests." }, "powershell.pester.outputVerbosity": { "type": "string", From a66908aad60faffefa12e70976b5585addf4b4b9 Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Wed, 13 Oct 2021 10:07:37 -0700 Subject: [PATCH 3/3] Suggested Doc Updates 2 Co-authored-by: Andy Schwartzmeyer --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2ed8886bc4..67fb954b13 100644 --- a/package.json +++ b/package.json @@ -840,7 +840,7 @@ "powershell.pester.useLegacyCodeLens": { "type": "boolean", "default": true, - "description": "Use code lens that is compatible with Pester 4. Disabling this will show 'Run Tests' on all It, Describe and Context blocks, and will correctly work only with Pester 5 and newer." + "description": "Use a CodeLens that is compatible with Pester 4. Disabling this will show 'Run Tests' on all It, Describe and Context blocks, and will correctly work only with Pester 5 and newer." }, "powershell.pester.codeLens": { "type": "boolean",