test/Update-CVGlobalException.Tests.ps1
if(($null -eq $TestName) -or ($TestName -contains 'Update-CVGlobalException')) { $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' if (-Not (Test-Path -Path $loadEnvPath)) { $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' } . ($loadEnvPath) $TestRecordingFile = Join-Path $PSScriptRoot 'Update-CVGlobalException.Recording.json' $currentPath = $PSScriptRoot while(-not $mockingPath) { $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File $currentPath = Split-Path -Path $currentPath -Parent } . ($mockingPath | Select-Object -First 1).FullName } Describe 'Update-CVGlobalException' { It 'UpdateExpanded' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } } |