mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
Disable Pester test colors (#6908)
This commit is contained in:
@@ -23,7 +23,7 @@ function Invoke-PesterTests {
|
|||||||
|
|
||||||
$configuration = [PesterConfiguration] @{
|
$configuration = [PesterConfiguration] @{
|
||||||
Run = @{ Path = $testPath; PassThru = $true }
|
Run = @{ Path = $testPath; PassThru = $true }
|
||||||
Output = @{ Verbosity = "Detailed" }
|
Output = @{ Verbosity = "Detailed"; RenderMode = "Plaintext" }
|
||||||
}
|
}
|
||||||
if ($TestName) {
|
if ($TestName) {
|
||||||
$configuration.Filter.FullName = $TestName
|
$configuration.Filter.FullName = $TestName
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ function Invoke-PesterTests {
|
|||||||
|
|
||||||
$configuration = [PesterConfiguration] @{
|
$configuration = [PesterConfiguration] @{
|
||||||
Run = @{ Path = $testPath; PassThru = $true }
|
Run = @{ Path = $testPath; PassThru = $true }
|
||||||
Output = @{ Verbosity = "Detailed" }
|
Output = @{ Verbosity = "Detailed"; RenderMode = "Plaintext" }
|
||||||
}
|
}
|
||||||
if ($TestName) {
|
if ($TestName) {
|
||||||
$configuration.Filter.FullName = $TestName
|
$configuration.Filter.FullName = $TestName
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ function Invoke-PesterTests {
|
|||||||
|
|
||||||
$configuration = [PesterConfiguration] @{
|
$configuration = [PesterConfiguration] @{
|
||||||
Run = @{ Path = $testPath; PassThru = $true }
|
Run = @{ Path = $testPath; PassThru = $true }
|
||||||
Output = @{ Verbosity = "Detailed" }
|
Output = @{ Verbosity = "Detailed"; RenderMode = "Plaintext"}
|
||||||
}
|
}
|
||||||
if ($TestName) {
|
if ($TestName) {
|
||||||
$configuration.Filter.FullName = $TestName
|
$configuration.Filter.FullName = $TestName
|
||||||
|
|||||||
Reference in New Issue
Block a user