Ubuntu – PowerShell module with class defined in separate file fails Pester tests in GitHub Actions
I am creating a PowerShell module that defines a class. For example: class MyClass { [string] $Name } If I put the class definition directly in the psm1 file then everything works fine. However, if I move the class to…