Correct the way ModuleName is calculated in tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
$Script:ModuleName = 'LDTestFramework'
|
||||
$Script:ModuleRoot = Split-Path -Path (Split-Path -Path $PSScriptRoot -Parent) -Parent
|
||||
$Script:ModuleName = Split-Path -Path $ModuleRoot -Leaf
|
||||
$Script:SourceRoot = Join-Path -Path $ModuleRoot -ChildPath $ModuleName
|
||||
|
||||
Describe "All commands pass PSScriptAnalyzer rules" -Tag 'Build' {
|
||||
|
||||
Reference in New Issue
Block a user