Skip to content

Commit

Permalink
Import Pester from new location
Browse files Browse the repository at this point in the history
This is somewhat temporary as we're about to investigate using upstream
Pester without needing to have it as a submodule, and failing that,
moving it to a vendor folder.
  • Loading branch information
andyleejordan committed Jul 14, 2016
1 parent bcbb252 commit a4dec33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ function Start-PSPester {
[string]$Directory = "$PSScriptRoot/test/powershell"
)

& (Get-PSOutput) -noprofile -c "Import-Module '$PSScriptRoot/src/Modules/Pester'; Invoke-Pester $Flags $Directory/$Tests"
& (Get-PSOutput) -noprofile -c "Import-Module '$PSScriptRoot/src/Modules/Shared/Pester'; Invoke-Pester $Flags $Directory/$Tests"
if ($LASTEXITCODE -ne 0) {
throw "$LASTEXITCODE Pester tests failed"
}
Expand Down

0 comments on commit a4dec33

Please sign in to comment.