mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Add autoload for test modules (#3342)
Related #3238 1. Add autoload for test modules 2. Move TestHostCS.psm1 to 'test\tools\Modules\' folder 3. Remove explicit load TestHostCS.psm1 from test files
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
Import-Module $PSScriptRoot\..\..\Common\Test.Helpers.psm1 -ErrorAction SilentlyContinue
|
||||
Import-Module $PSScriptRoot\..\..\Common\TestHostCS.psm1 -ErrorAction SilentlyContinue
|
||||
|
||||
Describe "Tests for parameter binding" -Tags "CI" {
|
||||
Describe "Tests for parameter binding" -Tags "CI" {
|
||||
Context 'Test of Mandatory parameters' {
|
||||
BeforeAll {
|
||||
$f = "function get-foo { param([Parameter(mandatory=`$true)] `$a) `$a };"
|
||||
|
||||
Reference in New Issue
Block a user