Add -noprofile to Start-PSPester

This commit is contained in:
Andrew Schwartzmeyer committed 2016-05-17 13:28:44 -07:00
1 parent 7f491beabb
commit e387961c31
1 file changed
+1 -1
+1 -1
View File
@@ -315,7 +315,7 @@ function Start-PSPester {
[string]$Directory = "$PSScriptRoot/test/powershell"
)
& (Get-PSOutput) -c "Invoke-Pester $Flags $Directory/$Tests"
& (Get-PSOutput) -noprofile -c "Invoke-Pester $Flags $Directory/$Tests"
if ($LASTEXITCODE -ne 0) {
throw "$LASTEXITCODE Pester tests failed"
}