File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 22 TestResult = @ {
33 Enabled = $true
44 }
5+ CodeCoverage = @ {
6+ Enabled = $true
7+ }
58 Output = @ {
69 Verbosity = ' Detailed'
710 }
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
5- Debug = $false
6- Verbose = $false
4+ Path = $env: PSMODULE_INVOKE_PESTER_INPUT_Run_Path
75 }
86}
Original file line number Diff line number Diff line change @@ -19,13 +19,11 @@ Describe 'PSModule - Module tests' {
1919 It ' The module should be importable' {
2020 {
2121 LogGroup ' Importing Module' {
22- # Get current debug preference and verbose preference
2322 $currentDebugPreference = $DebugPreference
2423 $currentVerbosePreference = $VerbosePreference
2524 $DebugPreference = ' Continue'
2625 $VerbosePreference = ' Continue'
2726 Import-Module - Name $moduleName - Force - Verbose - Debug
28- # Set debug preference back to original value
2927 $DebugPreference = $currentDebugPreference
3028 $VerbosePreference = $currentVerbosePreference
3129 }
You can’t perform that action at this time.
0 commit comments