You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ($PSVersionTable.PSEdition-eq"Core"-and-not$IsWindows) {
20
-
$referenceAssembliesPath=Join-Path$PSHOME"ref"
21
-
if (-not (Test-Path-Path $referenceAssembliesPath)) {
22
-
throw"Pester 3.4.3 on macOS requires a compatible pwsh installation with reference assemblies under '$referenceAssembliesPath'. This runner is intentionally lean and does not patch Pester at runtime."
23
-
}
24
-
}
25
-
}
26
-
27
18
functionGet-PesterModulePath {
28
19
$packagesFolder=Join-Path$repoRoot"packages"
29
20
$localPesterPaths=@(
@@ -50,24 +41,6 @@ function Get-PesterModulePath {
50
41
throw"Pester 3.4.3 was not found in the repository packages folder or installed modules."
Write-Host"No matching test files found under $testRootPath for filter '$Filter'."
109
86
return
110
87
}
111
88
112
-
Assert-PesterEnvironment
113
-
Import-Pester
89
+
if ($PSVersionTable.PSEdition-eq"Core"-and-not$IsWindows) {
90
+
$referenceAssembliesPath=Join-Path$PSHOME"ref"
91
+
if (-not (Test-Path-Path $referenceAssembliesPath)) {
92
+
throw"Pester 3.4.3 on macOS requires a compatible pwsh installation with reference assemblies under '$referenceAssembliesPath'. This runner is intentionally lean and does not patch Pester at runtime."
0 commit comments