Open gaelcolas opened 6 years ago
When the PSD1 of a Composite Resource is created with New-ModuleManifest, it creates the line:
FunctionsToExport = @()
Which makes the DSC Resource invalid: Get-DscResource -Name <resourceName> throws.
Get-DscResource -Name <resourceName>
It'd be good to catch this early in a pester test.
When the PSD1 of a Composite Resource is created with New-ModuleManifest, it creates the line:
Which makes the DSC Resource invalid:
Get-DscResource -Name <resourceName>
throws.It'd be good to catch this early in a pester test.