File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
scripts/tests/Module/PSModule Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 11@ {
22 Path = Get-ChildItem - Path $PSScriptRoot - Filter * .Tests.ps1 | Select-Object - ExpandProperty FullName
33 Data = @ {
4- Path = $env: PSMODULE_INVOKE_PESTER_INPUT_Run_Path
4+ Path = $env: PSMODULE_INVOKE_PESTER_INPUT_Run_Path
5+ Debug = $true
6+ Verbose = $true
57 }
68}
Original file line number Diff line number Diff line change @@ -19,13 +19,7 @@ Describe 'PSModule - Module tests' {
1919 It ' The module should be importable' {
2020 {
2121 LogGroup ' Importing Module' {
22- $currentDebugPreference = $DebugPreference
23- $currentVerbosePreference = $VerbosePreference
24- $DebugPreference = ' Continue'
25- $VerbosePreference = ' Continue'
2622 Import-Module - Name $moduleName - Force - Verbose - Debug
27- $DebugPreference = $currentDebugPreference
28- $VerbosePreference = $currentVerbosePreference
2923 }
3024 } | Should -Not - Throw
3125 }
You can’t perform that action at this time.
0 commit comments