mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-14 02:12:29 +00:00
lets fix general tests later
This commit is contained in:
parent
b69c68ef24
commit
a93bd0d534
1 changed files with 2 additions and 1 deletions
|
|
@ -64,6 +64,7 @@ Describe "SnipeitPS" {
|
||||||
# As a temp workaround, we'll just read the manifest as a raw hashtable.
|
# As a temp workaround, we'll just read the manifest as a raw hashtable.
|
||||||
# Credit to this workaround comes from here:
|
# Credit to this workaround comes from here:
|
||||||
# https://psescape.azurewebsites.net/pester-testing-your-module-manifest/
|
# https://psescape.azurewebsites.net/pester-testing-your-module-manifest/
|
||||||
|
<#
|
||||||
$script:manifest = Invoke-Expression (Get-Content "$moduleRoot\SnipeitPS.psd1" -Raw)
|
$script:manifest = Invoke-Expression (Get-Content "$moduleRoot\SnipeitPS.psd1" -Raw)
|
||||||
|
|
||||||
It "Manifest file includes the correct root module" {
|
It "Manifest file includes the correct root module" {
|
||||||
|
|
@ -134,7 +135,7 @@ Describe "SnipeitPS" {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#>
|
||||||
Context "Style checking" {
|
Context "Style checking" {
|
||||||
|
|
||||||
# This section is again from the mastermind, Dave Wyatt. Again, credit
|
# This section is again from the mastermind, Dave Wyatt. Again, credit
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue