We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e92d5e commit 363ec09Copy full SHA for 363ec09
Tests/Meta/Help.tests.ps1
@@ -3,7 +3,7 @@
3
# Get module commands
4
# Remove all versions of the module from the session. Pester can't handle multiple versions.
5
Get-Module $env:BHProjectName | Remove-Module
6
-Import-Module $env:BHPSModulePath -Verbose:$false -ErrorAction Stop
+Import-Module $env:BHModulePath -Verbose:$false -ErrorAction Stop
7
$moduleVersion = (Test-ModuleManifest $env:BHPSModuleManifest | select -ExpandProperty Version).ToString()
8
$ms = [Microsoft.PowerShell.Commands.ModuleSpecification]@{ ModuleName = $env:BHProjectName; RequiredVersion = $moduleVersion }
9
$commands = Get-Command -FullyQualifiedModule $ms -CommandType Cmdlet, Function, Workflow # Not alias
0 commit comments