Created
December 6, 2017 16:02
-
-
Save nohwnd/31502ae51d28fc473489037f9d88b11d to your computer and use it in GitHub Desktop.
pester fails to remove function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InModuleScope Pester { | |
[System.Diagnostics.CodeAnalysis.SuppressMessage('PSUseDeclaredVarsMoreThanAssigments', '', Scope = '*', Target = 'SuppressImportModule')] | |
$SuppressImportModule = $true | |
. $PSScriptRoot\Shared.ps1 | |
Describe 'Function-Name' { | |
Context "asdf" { | |
It "breaks" { | |
Write-Debug "abc" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment