Skip to content

Commit

Permalink
fix: remove parameters for project directories
Browse files Browse the repository at this point in the history
- regression created in #93
  • Loading branch information
aldrichtr committed Jan 4, 2024
1 parent 4cc3f3a commit bcdf31f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 deletions.
19 changes: 0 additions & 19 deletions tests/Unit/stitch/public/Path/Resolve-ProjectRoot.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,5 @@ Describe "Testing public function Resolve-ProjectRoot" -Tags @('unit', 'ProjectR
It "It Should have a 'Depth' parameter" {
$command.Parameters['Depth'].Count | Should -Be 1
}
It "It Should have a 'Defaults' parameter" {
$command.Parameters['Defaults'].Count | Should -Be 1
}
It "It Should have a 'Source' parameter" {
$command.Parameters['Source'].Count | Should -Be 1
}
It "It Should have a 'Tests' parameter" {
$command.Parameters['Tests'].Count | Should -Be 1
}
It "It Should have a 'Staging' parameter" {
$command.Parameters['Staging'].Count | Should -Be 1
}
It "It Should have a 'Artifact' parameter" {
$command.Parameters['Artifact'].Count | Should -Be 1
}
It "It Should have a 'Docs' parameter" {
$command.Parameters['Docs'].Count | Should -Be 1
}
}
}

21 changes: 1 addition & 20 deletions tests/Unit/stitch/public/Path/Test-ProjectRoot.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,6 @@ Describe "Testing public function Test-ProjectRoot" -Tags @('unit', 'ProjectRoot

It "It Should have a 'Path' parameter" {
$command.Parameters['Path'].Count | Should -Be 1
}
It "It Should have a 'Defaults' parameter" {
$command.Parameters['Defaults'].Count | Should -Be 1
}
It "It Should have a 'Source' parameter" {
$command.Parameters['Source'].Count | Should -Be 1
}
It "It Should have a 'Tests' parameter" {
$command.Parameters['Tests'].Count | Should -Be 1
}
It "It Should have a 'Staging' parameter" {
$command.Parameters['Staging'].Count | Should -Be 1
}
It "It Should have a 'Artifact' parameter" {
$command.Parameters['Artifact'].Count | Should -Be 1
}
It "It Should have a 'Docs' parameter" {
$command.Parameters['Docs'].Count | Should -Be 1
}
}
}
}

0 comments on commit bcdf31f

Please sign in to comment.