You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Write-ReportModuleInfo unit tests for CI environment
- Import PowerShellGet module in BeforeAll to ensure Find-Module is available for mocking
- Use $script:VerbosePreference and $global:translate for proper scoping within InModuleScope
- Remove -ModuleName parameter from Mock calls when already inside InModuleScope
All 227 tests now pass in both local and CI environments.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
0 commit comments